This method will setup and connect the phoenix socket
Last updated 2 years ago
Copyright (c) 2020 Trixta Inc
import { connectPhoenix } from '@trixtateam/phoenix-to-redux';
domainUrl
socket endpoint to connect to
string
params
optional parameters to pass when connecting to socket
any
options
optional configuration options