- bind in render
- arrow function in render
- bind in class constructors => REACR DOC SUGGESTIONS
- bind with class function => REACR DOC SUGGESTIONS
- if/ else
- Element varialbles
- Ternary conditional operator
- Short circuit Operator
- A "key" is a special string attribute you need to include when creating lists of elements.
- keys give the elements a stable identity
- keys help React identity which items have changed, are added, or are removed
- Help in efficient update of the user interface
When to use index as a key
- The items in to your list do not have a unique id.
- The list is a static list and will not change
- The list will never be reordered or filtered.
options for react styling
- CSS stylesheets
- Inline styling
- CSS modules
- CSS in JS Libraries (Styled Components)