Having a hard time wrapping your head around React state management, and getting tired of writing boilerplate for Redux?
Let's check out #MobX - everything becomes so simple and effortless π
π Here's a 5-tweet MobX + React crash course for you! π₯³ 1/5 MobX is a "reactive" state management library.
We directly mutate the state. Because we use MobX to observe and track mutations, the UI will be auto-updated, like cell updates in Excel. Network requests can also auto-send when conditions are met.
Everything is automatic!
Nov 1, 2019 β’ 16 tweets β’ 8 min read
Always wanted to use #GraphQL for your new projects, but never got time to learn how it works? π
Let's change that this weekend! π
π Here's a 10-tweet GraphQL crash course for you! π₯³
1/10
GraphQL is a query language for making flexible API calls.
We describe what we want in a single request with nested fields, then we will receive a data payload of the exact shape.
No need to make many small requests to stitch data together or over-fetch unwanted parts!
Oct 18, 2019 β’ 17 tweets β’ 9 min read
Always wanted to check out @sveltejs (aka. "the next big thing in web dev") but never got time for it? β°
π₯ I've got a 10-tweet crash course for you! π
(Spoiler alert: Svelte is so intuitive and easy to use that you may feel like you already know it! π₯³)
- Compiler: Doesn't ship a Svelte "library" to users, but build-time optimized plain JS
- Components: App is made up of composable UI elements
- Reactive: Event/User interaction triggers chain of state changes, autoupdating components throughout entire app