DEV Community

Discussion on: Better file structure in React projects

Collapse
 
exenestecnico profile image
Ernesto

@victorocna What do you keep in the functions folder? Is it helper functions?

Collapse
 
victorocna profile image
Victor Ocnarescu

exactly, helper functions. I keep in there anything like isLoggedIn, isDisabled, dateFormat, redirectTo and others

Collapse
 
ashkanmohammadi profile image
Amohammadi2

I would probably name it "utils".

Thread Thread
 
victorocna profile image
Victor Ocnarescu

Utils works fine as well :)