You didn't get my point.
Just export the array with the values and functions returned by your hooks, sometimes we have multiple hooks which depend or share state with each other. You can export these as a Custom hook which will definitely give a better developer experience. Now every React library has hooks so you should know how to get more from this feature.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You didn't get my point.
Just export the array with the values and functions returned by your hooks, sometimes we have multiple hooks which depend or share state with each other. You can export these as a Custom hook which will definitely give a better developer experience. Now every React library has hooks so you should know how to get more from this feature.