I love geography, but there are quite a few countries out there. This trivia game about geography will help you remember them all! 🌎🌍🌏 Worth mentioning, This is a WIP - just what I could do in a few hours. But I'm planning on adding a lot more to it! 🚀
- Next.js
- Typescript
- Storybook
- Redux
- Apollo
- Sass
- Linter hooked to the Precommit hook
- The game is completely playable without a mouse
-
Storyshots: Jest’s snapshot testing is the best way to do Structural Testing. This addon for storybook creates snapshots based on storybook stories. Link to Storybook
-
Reselect: Reselect is a great library to implement redux selectors. Memoized selectors can be used to efficiently compute derived data from the Redux store. Link
-
Storybook actions addon: Getting logs of components' actions being fired is a great way to test the behavior of a component. Link
-
Much much better typing: Typing right now is pretty terrible. It needs a lot more love.
-
Quick questions on Menu: A way to warm up - something similar to these.
-
Find the anomaly: There should be a section of the game where there are different cities/countries/flags and you should point the odd one out.
-
The prettier is messing up code every now and then. Check
exact-commits
's implementation. -
The US and Canada come up way too often, as the API I'm consuming only sends those 2 countries in North America.
-
Animations are a bit jumpy on some browsers in dev mode.