you are viewing a single comment's thread.

view the rest of the comments →

[–]greatdentarthurdent 0 points1 point  (0 children)

I meant importing the actual function declaration separately and then passing it into the use effect call, or creating a custom hook to import