A note on the generated file structure! 🔥
The following files must remain intact for your component to build, test, and run the development server properly:
src/root.{js/tsx}
src/__tests__/*.{js/tsx}
src/example.{js/tsx}
src/example-style.scss
Feel free to branch off from these into different modules as you see
fit! e.g. in src/root.js
you could have another module and import it
in:
import MyOtherThing from './my-other-thing.js'