Test it out!
Open multiple browser tabs and launch the app. Then, try adding, deleting, and moving cards from one list to another. All the app instances should be updated in real time, and this is what we are looking for from a real-time Kanban application.
We got the reactivity we wanted by subscribing to the collection events; one thing we didn't have was a mechanism of unsubscribing (stopping) from the subscriptions. For example, if we add another page and the user leaves the Board and navigates there, he will still receive updates from the subscriptions. This is not a big deal in small apps; however, you could imagine in big multipage apps, this can become a pure waste of CPU cycles. React's API provides all the life cycle methods we ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access