Join Notes
A batch of the best highlights from what Tristan's read, .
Negatives are just a bit harder to understand than positives. So, when possible, conditionals should be expressed as positives.
Clean Code
Robert C. Martin
We can think of physical processes as computations in the general sense that input configurations are acted upon by the laws of nature to yield output configurations.
The Engine of Complexity
John Hollenbeck and John Mayfield
Think of state as the minimal set of changing data that your app needs to remember. The most important principle for structuring state is to keep it DRY (Don’t Repeat Yourself). Figure out the absolute minimal representation of the state your application needs and compute everything else on-demand. For example, if you’re building a shopping list, you can store the items as an array in state. If you want to also display the number of items in the list, don’t store the number of items as another state value—instead, read the length of your array.
Thinking in React – React
React
...catch up on these, and many more highlights