carbon
carbon copied to clipboard
Update to react@18
- [ ] Upgrade to
react@18 - [ ] Confirm automatic bracket (
{},(),[], …) completion works correctly - [ ] Take advantage of
useDeferredValueinstead of debouncing inCarbon.js- https://reactjs.org/docs/hooks-reference.html#usedeferredvalue
- [ ] Use
useTransitionwhere we have a loading state- https://reactjs.org/docs/hooks-reference.html#usetransition
- [x] Use
useIdforid={}- https://reactjs.org/docs/hooks-reference.html#useid