Loading...
This method will setup and connect the phoenix socket
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