Closed
Description
@aeagle I get this error on the console when I change the zIndex programmatically.
Warning: React has detected a change in the order of Hooks called by SpaceInternal. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://fb.me/rules-of-hooks
Previous render Next render
------------------------------------------------------
1. useRef useRef
2. useState useState
3. useRef useRef
4. useRef useRef
5. useEffect useEffect
6. useEffect useEffect
7. useEffect useEffect
8. useContext useContext
9. undefined useContext
Metadata
Metadata
Assignees
Labels
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
aeagle commentedon Oct 20, 2019
@thekapadia I believe I have resolved the issue in version 0.1.18. I was using a hook within a conditional expression.
thekapadia commentedon Oct 22, 2019
@aeagle Yes, this error does not occur in 0.1.18. Thanks!