-
Notifications
You must be signed in to change notification settings - Fork 198
[Tech] Поддержка React компилятора #6919
Copy link
Copy link
Closed
Description
React предоставил компилятор. Стоит изучить как он будет работать с VKUI
UPD
В плагине eslint-plugin-react-hooks >= 7.0.0 появился линт, который проверяет на правильное использование реф https://react.dev/reference/eslint-plugin-react-hooks/lints/refs.
- поправить комментарии в ESLint
// TODO [#6919] поменять на 'error'(см. build(deps-dev): Bump the eslint group with 2 updates #9049)
PR
- feat: add useStateWithPrev #7961
- fix(useStableCallback): rm useRef #7963
- fix(useLayoutEffectCall): rm useRef #7964
- fix: deprecate useObjectMemo #7966
- fix(useReducedMotion): use state #8008
- refactor(ConfigProvider): rm useObjectMemo #8011
- fix(useFloatingWithInteractions): ref for props #9216
- fix(TabsItem): rm usePrevious #9217
- test(useAccordionContext): renderHook #9218
- fix(Clickable): react compiler #9220
- fix: callMultiple for react compiler #9222
- fix: useExternRef use state #9224
- fix: useRestoreFocus react compiler #9225
- fix: rm useEventListener #9226
- fix: useFocusWithin ref in render #9230
- test(useExternRef): fix ref #9231
- fix(Epic): rm ref #9242
- test(Gallery): fix ref #9243
- fix(Tappable): pointerDelayTimers use ref #9244
- BREAKING CHANGE: changing an uncontrolled input to be controlled #9246
- fix(RemovableIos): rm ref #9248
- test(Popover): Cannot reassign variables declared outside of the component #9249
- fix(ImageBase): rm ref #9258
- fix(View): rm ref, use Map #9259
- fix: rm usePrevious #9274
- test(useFloatingWithInteractions): Cannot access ref value during render #9276
- fix: renderProps ref #9305
- fix: enable rules-of-hooks #9308
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done