Directory for utils for both Server and Client?
utils
is for utility code for the client side
server/utils
is for utility code for the server side
What's the right place for utility code I want to use in both the client and the server??1 Reply
You have to import and re-export it. Like this
/utils/buildTargetAudience.ts (client util)