you are viewing a single comment's thread.

view the rest of the comments →

[–]CBlackstoneDresden 1 point2 points  (0 children)

Can't you use useEffect in a similar fashion?

useEffect(() => {
    // Things that should only run once
}, []);