ducks-modular-redux
platform
ducks-modular-redux | platform | |
---|---|---|
17 | 64 | |
9,587 | 7,899 | |
- | 0.4% | |
0.0 | 9.1 | |
over 2 years ago | 5 days ago | |
JavaScript | TypeScript | |
- | GNU General Public License v3.0 or later |
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.
ducks-modular-redux
-
What are some good ways to structure React projects and separate logic from every component? Design patterns and code/folder structure
And here's an interesting proposal for organizing data store/reducer logic: https://github.com/erikras/ducks-modular-redux
- How to Build a Basic CRUD App with NextJS, React, Redux, Observable and MUI5 Components
- How to Build a Basic CRUD App with NextJS, TS, React, Redux-Tookit and MUI5 Components
- Redux explicado de manera simple y sucinta para los desarrolladores de React
- Introducción react-redux y redux toolkit
- Introduccióna react-redux y redux toolkit
-
Should we be teaching Redux in 2022?
Yeah, the "ducks" file structure has been around as an idea since 2015, but most Redux apps (and our older docs) used a "folder-by-type" pattern (/reducers/todos.js, /actions/todos.js, etc).
-
Day 30 of #100daysofcode: Re-ducks and Best Practices
The official Redux Style Guide suggests using the (very modular) Ducks structure. Essentially, this structure follows the design pattern of "New Feature? New folder." I am not 100% sure, but this seems to be a newer development in Redux best practices. For example, favesound-redux splits files into "type" folders.
-
React folder structure for enterprise level applications
That's an idea that has been around for awhile and was popularized by the Duck pattern for Redux.
-
Stepping up your Redux game with Redux Toolkit
The original Redux docs examples did show a "file-by-type" folder structure (ie, /actions/todos.js, /reducers/todos.js, etc), but you've always been able to structure your code however you want to. The "ducks" pattern was invented right after Redux came out, and has always been a valid approach.
platform
-
Simplifying Angular State Management Using NgRx SignalState
NgRx is the standard library for state management in Angular applications. With NgRx v14, many of the complex APIs following the Redux pattern have been greatly simplified. For example, ActionGroups make it easier to define new actions. However, the use of the Redux pattern is by no means easy and discourages many developers.
-
Here's how NgRx selectors actually work internally
I ran into this question question on the NgRx GitHub discussion threads which asked:
-
Using Angular Signals for Global State
In an application that I’m working on, before Angular 16 shipped, I was using a custom StoreService to hold global application state. I’ve tried libraries like NgRx and Akita to manage global state, but found them to be way too heavy-handed for what I wanted (not saying ANYTHING negative towards these libraries; not every tool is right for every job, and the authors of these libraries would probably be the first to tell you that). This custom StoreService was created using RxJS, and looked like this:
-
Episode 23/27: NgRx 16.1 & Signal Store, Jest, Cypress, Nx
RFC Signal Store
-
Fullstack Angular with Analog 🚀
If you liked this, click the ❤️ so other people will see it. Follow me on Twitter and subscribe to my YouTube Channel for content on Angular, Analog, NgRx, and more!
-
A better architecture for your Angular projects
The store can be implemented using any technology. You can either use a library like NgRx or NGXS. Another solution is to create your own store using a BehaviorSubject.
-
Navigation ID is not equal to the current router navigation id error
I'm using @ngrx/router-store in my Angularv5 app and I recently started running into a an error: Navigation ID X is not equal to the current navigation id Y (where X and Y are integers).
-
Share mistakes you did with Angular and you want other devs not do it again
Not agree, NgRx and redux pattern helps a lot to keep the code clean, I do agree that maybe NgRx add many files and could become in boilperplate for simple staff, I think with signals this approach will change, there is already an open discussion about this https://github.com/ngrx/platform/discussions/3796
-
How can I stop API requests from blocking rendering?
For code sample and how to architect these things : https://ngrx.io
-
From NgRx ComponentStore to SignalStore: the key takeaways from my demo project
The NgRx team and Marko Stanimirović opened a new RFC (Request for Comments) for a signal-based state management solution, SignalStore. It has a similar approach to @ngrx/component-store. The initial prototype with the API documentation is available in the NgRx SignalStore playground repo.
What are some alternatives?
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
ngrx-data-pagination
redux-devtools - DevTools for Redux with hot reloading, action replay, and customizable UI
rtk-query - Data fetching and caching addon for Redux Toolkit
react-community-tools-practices-cheatsheet - Descriptions and use cases for common tools and practices in the React community
rx-query
react-redux - Official React bindings for Redux
ngrx-forms - Enhance your forms in Angular applications with the power of ngrx
SAAS-Starter-Kit-Pro - 🚀A boilerplate for building Software-as-Service (SAAS) apps with Reactjs, and Nodejs
ngrx-immer - Immer wrappers around NgRx methods createReducer, on, and ComponentStore
flux-standard-action - A human-friendly standard for Flux action objects.
redux-devtools-extension - Redux DevTools extension.