|
|
|
|
|
by allover
2576 days ago
|
|
The console.log was only there to illustrate that the code in useEffect's callback is only being run on the client-side (see the codesandbox I linked to). I think it's clear from the parent I was responding to that they have better use-cases in mind :) |
|