Saturday, November 20, 2021
"naming is hard"...
AWS Copilot (tool for ECS deployments)
AWS Copilot is designed for both existing ECS users, and new ECS users who want to move beyond manual management of lower-level infrastructure, and instead just start thinking about their application and its lifecycle. Copilot creates modern application deployments
GitHub Copilot (AI powered code tool)
With GitHub Copilot, get suggestions for whole lines or entire functions right inside your editor.
When not to use React state
- non-react state is easier to work with. Updates to non-react state are synchronous — no need to put stuff that reads an updated value
- updating a non-react state doesn’t trigger a re-render.
- Not using react state helps avoid a problem I call render thrashing
- react state carries more semantics, and overusing it makes your app seem more complex.
useRefreturns a mutable ref object whose
.currentproperty is initialized to the passed argument (
initialValue). The returned object will persist for the full lifetime of the component.