![]() I don’t use a separate containers folder for connecting to Redux.If we had multiple routes, I would also use react-router and create a pages folder for page-level components. Our application only has 1 route which is the root /.There are 2 aspects about this folder structure worth noting: utils: Helper functions that can be reused throughout the application.styles: Inside the styles folder, we declare variables, templates, and reusable style patterns that can be shared in components.store: The store holds all of our logic for Redux and managing state.using axios to call the HN API) or provide extended functionality to the application (ex. services: Services allow you to connect to APIs (ex. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |