redux-templates
react
redux-templates | react | |
---|---|---|
10 | 78 | |
1,354 | 44,039 | |
2.2% | 0.5% | |
9.2 | 6.9 | |
2 days ago | about 1 month ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
redux-templates
-
The new wave of React state management
Yeah, _please_ don't use `typesafe-actions` :)
It may have had some value before RTK came out, but a lot of the opinions and approaches shown in its docs lead you to write _wayyyy_ too much code. For example, we specifically recommend _against_ writing TS unions for action object types [0].
RTK completely obsoletes `typesafe-actions`, and the TS usage patterns that we teach today should result in a pretty minimal set of types that you need to write in your own code.
For a small example see the RTK+TS template for Create-React-App [1]. If you want to see what a real app codebase can look like, the client app for my day job at Replay.io is OSS [2]. It's admittedly a somewhat messy codebase due to its long evolution and legacy (started as the FF DevTools codebase, copy-pasted, and we've been slowly migrating to RTK+TS and modernizing it), but files like [3] show how I would write a real slice reducer with RTK+TS.
[0] https://redux.js.org/usage/usage-with-typescript#avoid-actio...
[1] https://github.com/reduxjs/cra-template-redux-typescript
[2] https://github.com/replayio/devtools
[3] https://github.com/replayio/devtools/blob/454804188d33900a26...
-
How I Setup Redux Toolkit and RTK Query
The recommended way to initialize a new app with React and Redux is by using the official Redux+JS template or Redux+TS template.
-
Should i learn Typescript prior to React?
I learned the basics of react initially, and then when I started using typescript + react, I did so using the create-react-app typescript redux template. I found that having a template to build from was extremely helpful. I'm sure there are other good templates out there if you didn't want to worry about redux (I think it's good, but it's got it's own mental overhead), but being able to refer to the template implementation was extremely helpful, since the typings of some react things can be highly weird.
- Best place and way to learn about Redux
- Correctly typin Store interface with redux toolkit
- Folder structure for React-Redux with Typescript project
-
React-Redux-Typescript Boilerplate
Please see the official Redux+TS template for CRA, which shows the correct "modern Redux" patterns in action, as well as the "Modern Redux with RTK" tutorial page and our recommended TS usage patterns.
-
Hello, I am recording again. This time about the latest version Redux and TypeScript.
btw, note that we have an official Redux+TS template for CRA that comes with RTK and React-Redux already configured.
- Mastering Typescript State Management using Redux
-
DO Hackathon: Web Application
Now the first two questions have been answered. Moving on to the next one, state management. I decided to use redux. Came across this amazing toolkit and this beautiful and friendly template template from the official reduxjs repository.
react
-
How to use Typescript in React apps
Congratulations, you now know how to use TypeScript in your React App. For further reading check out this React TypeScript cheat sheet
- React Basics: Essential Knowledge for Every React Developer
-
Ultimate Guide & Resources to Enhancing Your ReactJS Skills || 16 GitHub repositories
Quickly reference the essentials with these handy React cheatsheets.
- Anyone got good resources for experienced devs that don't know front end?
-
Any good books for React, Typescript, Tailwind combo?
For React and Typescript, this is the bible: https://react-typescript-cheatsheet.netlify.app/
- Can anyone recommend a decent tutorial/docs for React TSX
- Typescript: 5 Resources To Become A Pro
-
Using TS with NextJS and the proper way to learn
typescript-cheatsheets / react
-
16 Github Repos to master React
11-) You have started to use React effectively with Typescript, but if you are wondering about the tricks, this repo is for you. typescript-cheatsheets/react
- React Ts / Js em geral
What are some alternatives?
redux-eggs - Add some Eggs to your Redux store.
super-auto-pets-db - This database website is an un-official guide and reference for the pets, food and stats from the game Super Auto Pets.
vuex - 🗃️ Centralized State Management for Vue.js.
tailwindcss-typography - Beautiful typographic defaults for HTML you don't control.
inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
reactjs.org - The React documentation website [Moved to: https://github.com/reactjs/react.dev]
redux-easy-mode - A very easy to understand and use set of tools for Redux. Includes action builders, reducer builders, side-effect middleware, and async actions.
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
devtools - Replay.io DevTools
type-challenges - Collection of TypeScript type challenges with online judge
bulletproof-react - 🛡️ ⚛️ A simple, scalable, and powerful architecture for building production ready React applications.