Move files to src/container/
Open
frontend
refactor
- Dominant language
- JavaScript
- Stars
- 226
- Forks
- 235
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 19
Description
We have a bunch of top-level files in src/. A lot of them create objects that manage app state and are stored in `container`:
- alert.js
- unsaved-changes.js
- scroll-behavior.js
- i18n.js
- router.js
- routes.js
I think it'd be cleaner to move these files to their own directory. I'm thinking src/container/. Then src/container.js could become src/container/index.js.
I had this thought in mind while working on getodk/central-frontend#1067. I added src/container/hover-card.js to manage the state of the hover card. It's the first file in src/container/.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.