cable_ready
cable_ready copied to clipboard
Draft: Futurism updates-for support
This PR accompanies the following Futurism PR: https://github.com/stimulusreflex/futurism/pull/120
Since I found no other way to instruct morphdom to not mutate the futurism-element I introduced a data attribute to instruct the updates-for element to not call morphdom in the first place.
Secondly I introduced a data attribute that is used to emit a event to the provided selector. This allows futurism to listen to the event and call it's futurism actioncable channel and refresh it's partial without glitching