-
After updating React to 16.13, I am receiving this error, which is pretty cryptic and only occurs on that update (16.12 works fine)
Demo can be found here:
https://github.com/LXSMNSYC/react-scop…
-
Hi, great work here. Do you have any idea how to fix the window that flashes and disappears?
-
- [x] [Введение в React Hooks](https://habr.com/ru/post/429712/)
- [x] Тестирование React Hooks?
- [x] Custom hooks: practice
- [x] [React- Your First Custom Hook](https://itnext.io/react-custom-…
-
Is it possible to have a documentation example of using `useHover` and `useToggleLayer` together? I could only find examples of each separately, and wasn't able to work out how to use both together. E…
-
I can't find mention of this on the site, but on upgrading to v7.0.0 useHover seems to have been removed and is now returning an Object(...) is not a function error. Is there any relevant changelog fo…
-
-
Small one: it would be nice if `useHover()` wouldn’t trigger an error.
* `const [ show, hoverProps ] = useHover({})` -> works (defaults are used)
* `const [ show, hoverProps ] = useHover()` -> err…
-
Right now, when the user scrolls the page while a tooltip for example is open, it will hide the tooltip automatically. It would be nice if the user could set a flag `hideOnScroll: true / false` in the…
-
Initially https://github.com/unihooks/org/issues/3
#### Data hooks
- [ ] `usePrevious`
- [x] `useProperty`
- [ ] `useState`
- [x] `useQueryParam`
- [ ] `useQuery`
- [ ] `useStore`
- [ ] `u…
-
## 需求背景
React 的组件化开发特性给前端开发带来了新的开发体验,我们可以将一个页面分解成很多个组件,最后通过组件进行拼装组成完整的 UI 界面,以及组件可以很方便的在不同页面不同项目进行复用。
但是,随着业务功能复杂度的提高,组件大多数时候会和业务逻辑,生命周期函数等耦合到一起,导致很多重复的业务逻辑代码很难被抽离出来,为了快速开发很多时候我们经常是一把梭哈的复制粘贴,当业务…