Discover and read the best of Twitter Threads about #clientsidearchitecture

Most recents (1)

Every client app uses some form of the MVP (model-view-presenter) pattern.

The challenge is that the M is responsible for way too much.

As a result, developers don't know *which tools* are responsible for which tasks.
Tasks of the model:

- Providing reactivity to state changes
- Holding onto state
- Updating remote data and providing async states (loading, success, error)
- Expressing model behavior. Also known as domain (interaction) logic.
Tools we can use:

- React hooks
- Redux
- Context API
- Apollo Client
- RESTful APIs
- xState
- react-query
Read 25 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!