ngrx
SolidNgRx state management for Angular including store, effects, entity adapter, component store, and selectors.
AI & Automation 1,160 stars
71 forks Updated today MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# NgRx Skill
Expert assistance for implementing NgRx state management in Angular applications.
## Capabilities
- Configure NgRx store with feature states
- Create actions, reducers, and selectors
- Implement effects for side effects
- Use entity adapter for collections
- Apply component store for local state
- Set up NgRx DevTools integration
## Usage
Invoke this skill when you need to:
- Implement centralized state management
- Handle complex async workflows
- Manage normalized entity collections
- Debug state changes with DevTools
- Scale Angular application state
## Inputs
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| featureName | string | Yes | Feature state name |
| entityAdapter | boolean | No | Use entity adapter |
| effects | array | No | Effects to create |
| componentStore | boolean | No | Use component store |
### Configuration Example
```json
{
"featureName": "users",
"entityAdapter": true,
"effects": ["loadUsers", "createUser", "updateUser"],
"componentStore": false
}
```
## NgRx Patterns
### Actions
```typescript
// store/users/users.actions.ts
import { createActionGroup, emptyProps, props } from '@ngrx/store';
export const UsersActions = createActionGroup({
source: 'Users',
events: {
'Load Users': emptyProps(),
'Load Users Success': props<{ users: User[] }>(),
'Load Users Failure': props<{ error: string }>(),
'Create User': props<{ user: CreateUserDto }>(),
'Create Us...
Details
- Author
- a5c-ai
- Repository
- a5c-ai/babysitter
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
redux-toolkit
Redux Toolkit patterns including slice creation, async thunks, RTK Query, state normalization, and DevTools integration.
1,160 Updated today
a5c-ai AI & Automation Solid
zustand-store-ts
Create Zustand stores following established patterns with proper TypeScript types and middleware.
39,350 Updated today
sickn33 AI & Automation Solid
zustand
Zustand state management patterns including store creation, middleware, persistence, slices, and DevTools integration.
1,160 Updated today
a5c-ai Web & Frontend Solid
zustand-store-ts
Create Zustand stores following established patterns with proper TypeScript types and middleware.
27,705 Updated today
davila7 AI & Automation Solid
rxjs
RxJS reactive programming patterns including operators, error handling, multicasting, and Angular integration.
1,160 Updated today
a5c-ai