Redux Tooklit Demo
Experimenting with Redux Toolkit and TypeScript generic components.
This is a small project to demonstrate the use of Redux Toolkit, which removes a lot of the boilerplate associated with setting up Redux in a React project.
Redux Toolkit encourages good practice in setting up state management, such as handling updates to an immutable state with built in libraries such as Immer and use with TypeScript is much easier too.
This project also showcases the use of TypeScript generic components to facilitate scalability by preventing repetitive code. Components such as list components take a collection of items with a particular shape, as well as a callback function to render each item, much like the built in React Native FlatList component.
This demo was created as part of an exercise to filter an archive of video games by their publishers and the platforms they exist on. Filters are applied via text search, select drowndowns and via url parameters. The source code is at GitHub.