Our great sponsors
-
Recoil
Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
buzzer-multiplayer
Discontinued Run your online quiz game with friends. Zoom conference not included. Questions not included.
A real breakthrough came with the introduction of re-frame, and with the best README you'll ever see.
Here appAtom in our main db and the other selectors (reposView, repoItemView etc) provide the materialised views. Recoil does the rest, triggering an update when needed. If you click a RepoItem and set its nested state to isOpen:true, only that element will rerender (if you enable this flag).
Sorry, there's no library. If there was it would be called The Kappa Architecture for React, or simply reframejs, but there's no need for it. And this is not even a pitch to say: all these things you can have if you switch to ClojureScript. Because it's not a particular framework or library: it's a set of related concepts. Sure, they feel more at home in a cljs project but they work nicely in plain React too, and I used them to create this simple multiplayer buzzer app if you want to see them in action.
Years ago I used to build Android Apps and the OS had this mechanism called onSaveInstanceState() where Android asks every little piece of stateful UI: "hey, what's your current state?" so that it can save it temporarily when your app is killed by the system. It is quite an annoying thing to implement. I even wrote a library for it.