Content
@
0 reply
0 recast
0 reaction
androidsixteen 🌲
@androidsixteen.eth
I miss explicit component lifecycle methods in React like `componentDidMount` Felt far easier to reason about than 15 `useEffect` functions littered in the component where you have to inspect the dependency array to know what's going on Am I just being redacted / is there a better approach here?
9 replies
2 recasts
19 reactions
typeof.eth 🔵
@typeof.eth
Overall I prefer modern React, but having prevProps and prevState in componentDidUpdate was pretty handy too
0 reply
0 recast
1 reaction