Open
Description
Basic styleguide: https://ts.dev/style/
However, the styleguide is not describing every use-case. There are some topics where we might want to differ. Feel free to add points to the list.
Functions
- Named functions vs. arrow functions: when is it ok (debugging info) to use arrow functions and when should we definitely use named functions (e.g. return functions of
useEffect
) - what is the complexity/length threshold? -> arrow functions when one-liners, bindingthis
context, and expressions
Metadata
Metadata
Type
Projects
Status
Backlog 📝