Yes for this example I could have made this isomorphic. But i’m tending to move away from that concept entirely. We can still achieve optimistic UI but it doesnt have to be live-query doing the job. The thing about isomorphism/ database everywhere is its expensive. When your app is at scale, its hard to scale out when your server is tracking queries constantly. At workpop we tend to use Server only methods, and spoof latency compensation with redux. Its perfectly fine to dispatch to the store before updating the server.

Checkout Redux Optimist for a fine grained solution for optimistic updates.

--

--

--

Software Engineer at Workpop, Inc.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhi Aiyer

Abhi Aiyer

Software Engineer at Workpop, Inc.

More from Medium

Life: Enjoying The Passing Of Time

To remember is to forget, vice versa: Pantjoran, PIK

What is a fun way to learn multiplication tables?

We all have been there!! A guide to your data science journey.