DEV Community

loading...

Discussion on: Tips on naming boolean variables - Cleaner Code

Collapse
invious profile image
Aymon Fournier

what about shouldSave as a boolean prop to a component that would fire the useEffect?

Collapse
crhain88 profile image
Christian

answering what should save would be easier to understand. recordShouldSave