Continuing my explorations of RxDB and Rescript, this article hooks up mutations to allow RxDB to automatically sync its offline-enabled changes to the graphql server.
I’ve become quite comfortable in Rescript over the course of the past few months. So far in this long-running series, I’ve implemented an RxDB powered offline-enabled application in Rescript. I’ve also written a graphql server using express. In this article, we’ll connect the two so that the RxDB frontend can sync with the graphql database.
Instead of writing a new article on Rescript this weekend, I ended up writing an entire project in Rescript!
Now that our RxDB models are complete, we can hook it up to a react app for a complete offline experience.
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