Lets say my name is Tom, and I start a car insurance company with 50 customers. We'll pretend this number is normal for car insurance companies.
Hooks are not a new concept in React - they are a re-implementation (a new API) for state and side effects in React that better aligns with two existing concepts in react: the concept of Components as the primitive model for UIs, and of these components being declarative.
React Functional Components with Hooks are a More Accurate Implementation of the React Mental Model for State and Effects
Explores the problems with await (including try/catch "hell") and introduces a library that provides await error handling.
A thought-experiment-turned-library on how to overcome some of the problems with promises in javascript using a functional approach.
Promises co-mingle rejected promises and unintended runtime exceptions, while having an API which encourages casually dangerous code and which lacks a convenient API to work safely with the data.
How to think about a role-based activity check permissions system