Comparing Loona and NGRX by building the same app with both of them.
Here's the "Compare Loona and NGRX" blogpost.
- Use REST API to load chats (see diff)
- Load messages (see diff)
- Implement Caching (see diff)
- Send a new message (see diff)
- Implement Optimistic UI so the app feels instant (see diff)
- Combine remote data with local-only state (see diff)
- Use GraphQL instead of REST (see diff)
WhatsApp has an API and the client app.
# Go to the API
cd api
# Install packages
yarn
# Run it
yarn start
# Go to the client
cd client
# Install packages
yarn
# Run it
yarn start