React TL;DR – a human filter for most useful React content.
Best Practices with React Hooks
Follow the rules of Hooks Only call Hooks at the top level Only call Hooks from function components Use the ESLint plugin for ...
6 Tips to Improve Your Conditional Statements for Better Readability
Returning Early Instead of if…else Using Array.includes Using Default Function Parameters Using Array.every Using Array.some Using Indexing Instead of switch…case Read the full ...
How I Code When I Work With React
Think Always in Functions Naming Functions Don’t Mount and Unmount Repeatedly No More than 10 Functions Within a Component If It Doesn’t Change, ...
Higer Order Functions
Higher order functions give you many creative possibilities to: write helper functions that increase readability and scan-ability reduce future coding time ...