React Best Practices

Interesting reads

Elegant Javascript patterns

RORO: https://medium.com/free-code-camp/elegant-patterns-in-modern-javascript-roro-be01e7669cbd

Ice Factory: https://medium.com/free-code-camp/elegant-patterns-in-modern-javascript-ice-factory-4161859a0eee

A primer on Javascript naming

https://www.robinwieruch.de/javascript-naming-conventions

Debounce and throttling

Debouncing enforces that a function not be called again until a certain amount of time has passed without it being called. As in “execute this function only if 100 milliseconds have passed without it being called.”

Throttling enforces a maximum number of times a function can be called over time. As in “execute this function at most once every 100 milliseconds.”

Read more: https://css-tricks.com/the-difference-between-throttling-and-debouncing/

const vs let

https://overreacted.io/on-let-vs-const/

Short React code snippets from the 30 seconds of code team

https://www.30secondsofcode.org/react/p/1

⌘K
    to navigateEnterto select Escto close
    Previous
    Next