Where to store your functions in the project React?

Good afternoon, I have a few functions that are not tied to any component where to store such functions in the project? I would not want to clog the components with unnecessary ads. Maybe there's some practice? In Google not found.
April 7th 20 at 15:25
1 answer
April 7th 20 at 15:27
If you use these functions only in the components, make a separate lib folder or helpers for example in the root of the directory component or, for example, in /src, like these /src/lib or /src/helpers, and from there plug in those components where like components and not only if this should be in another place.

Usually have prelit meaning of your functions and might hence make a start.

Find more questions by tags React