This PR sits on top of #2 (i.e., this PR includes commits from #2 so once that PR is merged, this one will become smaller).
Extract components into their own modules
This is the first of a few refactorings to come. As the diff is rather large, here is a summary of the changes:
Each component is now its own file/module
Use JSX (well, .tsx) file extension
Builds now use TypeScript; several minor and miscellaneous fixes applied after type checking
Builds now lint code, minification with terser
Package JSON data as a separate bundle so as to reduce noise when just fetching new data; this will no longer force the code to be re-bundled
As far as refactoring goes, this made no changes in logic or abstraction -- only module extraction. Future refactoring will tackle logic/abstraction, etc.
This PR sits on top of #2 (i.e., this PR includes commits from #2 so once that PR is merged, this one will become smaller).
Extract components into their own modules
This is the first of a few refactorings to come. As the diff is rather large, here is a summary of the changes:
.tsx
) file extensionterser
As far as refactoring goes, this made no changes in logic or abstraction -- only module extraction. Future refactoring will tackle logic/abstraction, etc.