B
A
Transitions happen only when events are allowed
Machine will never go out of defined bounds
const { isLoading, error, data } = useQuery('repoData', () => fetch('https://foo.bar/api').then(res => res.json() ) )
Multiple variables deciding about a state of the app?
Let a machine to decide in which state your app should be
...and Typescript world
By Kuba Skoneczny