How can i use a random number without getting a hydration error?
Im trying to pass in a random number, but it's giving me a hydration error. How could i do something like this?
Solution:Jump to solution
Inside a useEffect set a state to true, then just render nothing until it’s true
2 Replies