News for hackers. Stuff that matters.
Re:Delightful React file/directory structure by mikewhy on Thursday March 17, 2022 @02:36PM (#30714439)
CRA doesn't enforce any structure, outside of "code lives in arc/ and public files go in public/"

The default templates are just a single folder, with tests located adjacent to their source files.

CRA configures jest to look for test files in arc/, but let's users override that.

https://github.com/facebook/create-react-app/tree/main/packa...

https://github.com/facebook/create-react-app/tree/main/packa...

There are no comments on this comment yet.