132 days ago · Tech · hide · Fediverse post

The simplest way to make a page collaborative with Hotwire and Rails is to subscribe to changes and broadcast a refresh when relevant models update. But that approach sometimes causes a problem. This post explains the refresh approach, the problem and the fix. The full monty. The problem Let’s assume we’re implementing a game because that is an example I have handy. My little MinesVsHumanit...

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town