/recipe-collab-react

Case study in building the same collaborative recipe editor using various collaboration frameworks (+ React).

Primary LanguageTypeScriptMIT LicenseMIT

recipe-collab-react

Case study in building the same collaborative recipe editor using various collaboration frameworks (+ React).

This started as a Collabs demo, which is live at https://collabs-demos.herokuapp.com/recipe-editor/ and copied in the collabs/ folder. I demonstrated its nuanced behavior under concurrency at LFW.dev meetup #5 (Video, Slides). E.g., if you edit an amount while someone else scales the recipe concurrently, your edit is also scaled, keeping the recipe in proportion.

While Collabs is specifically designed to enable that kind of nuanced behavior, you can do similar things with other collaboration frameworks if you structure your data in the right way. This repo shows how for: