High-Order Components
Clone Children
Context
Render Props
Hooks
Compound Components
Control Props
Portals
Code-Splitting
State Reducers
Uncontrolled Components
Forwarding Refs
State Initializers
Error Boundaries
Refs
Memoization
Prop Collections
Prop Getters
Prop Drilling
Lead of Frontend Web Engineering at Whalar
@belcoDev
Belco90
mario.dev
bool: true, false
enumerate: foo, bar qux, ...
<Radio
value="a"
name="RadioGroup"
onChange={handleChange}
checked={state === 'a'}
>
option A
</Radio>
<Radio
value="b"
name="RadioGroup"
onChange={handleChange}
checked={state === 'b'}
>
option B
</Radio>
<Radio
value="c"
name="RadioGroup"
onChange={handleChange}
checked={state === 'c'}
>
option C
</Radio>
<RadioGroup selectedValue={value} name="RadioGroup" onChange={handleChange}>
<Radio value="a">option A</Radio>
<Radio value="b">option B</Radio>
<Radio value="c">option C</Radio>
</RadioGroup>
๐
๐
๐
๐
๐
๐
๐
๐
๐
๐
EditableItem
ActionableDropdown
data
๐
๐
inline anonymous functions have a negligible impact on application performance
โ Matthew Gerstman after deeper investigation with inline functions
๐
๐
๐
๐
JavaScript Testing utility for React that makes it easier to test your React Components' output. You can also manipulate, traverse, and in some ways simulate runtime given the output
component
redux
tests
tests
solution for testing React components by providing light utility functions on top of react-dom and react-dom/test-utils, in a way that encourages better testing practices. Its primary guiding principle is: The more your tests resemble the way your software is used, the more confidence they can give you.
component
redux
tests
tests
tests
do not refactor just because
refactor when 1) revisiting the component or 2) you need to update for using something else (i.e. custom hook)
do not refactor for abstracting a pattern the first time
refactor applying rule of three
I hate coding cause it feels so good to get something to work but then if you try to explain what you did it doesn't sound hard or cool lolol