Closed landvibe closed 4 years ago
Hi @landvibe,
Unfortunately that won't work. Go ahead and give it a try and you'll see why :)
I know it won't work, I meant refactoring. Because the current version is not stable with concurrent mode.
I know it's not stable with concurrent mode, but what you're suggesting won't work at all. Feel free to prove be wrong 😉
I think useEffect should be used to set ref.current for concurrent mode in this line