Managing ActionCable Easily
Stimulus.js can be used to setup and tear down connection very easily, just by using the controller’s life cycle and changes to the page. https://johnbeatty.co/2018/12/14/grabbing-actioncable-with-stimulus-js/
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Stimulus.js can be used to setup and tear down connection very easily, just by using the controller’s life cycle and changes to the page. https://johnbeatty.co/2018/12/14/grabbing-actioncable-with-stimulus-js/
Post a comment