I've rewritten this in React and TypeScript.
BeiyanYunyi opened this issue · 1 comments
BeiyanYunyi commented
Here is my repo: https://github.com/lixiang810/Ideosorter-React
Code copied or modified from this project is licensed under the MIT license, while code I wrote out myself is licensed under the AGPLv3 license.
The advantages of this repo are as follows:
- The answer process uses the history api, so the user can go back to the previous page during the test to redo the previous question.
- The code uses TypeScript, which improves readability and makes maintenance and expansion easy.
- The data is organized using the array method, thus avoiding the problems associated with overly dynamic typing.
- The project uses eslint and prettier to ensure consistent code style.
- This is a Single Page App, the user does not need to repeatedly load pages.
- This will be a progressive web app, where the user loads once and then no longer needs to request content from the server.
TheGhostOfInky commented
That's amazing, sadly I am not versed well enough with react at the moment to help you, but best of luck in your endeavor.