Now that our RxDB models are complete, we can hook it up to a react app for a complete offline experience.
Extending the JS bindings I’ve modelled in previous articles, in this add bindings for subscribing to queries, and hook those up to Application state.
In an earlier article, I started modelling RxDB calls from rescript with the intent of building an offline-enabled Rescript app. This article continues from that base, modelling collections and queries.
In this article, we complete the Recipes single page app we’ve been developing in Rescript by styling it with Emotion, a popular framework for styling in React systems.
Continuing my series on Rescript, this article covers React forms with managed state and dispatching useReducer actions when our state changes.
- OLDER POSTS
- page 1 of 2