5. Using ngrx in feature modules
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- angular, typescript
- Domain
- frontend
Research direction
Read the linked wiki walkthrough, then inspect app.module.ts, pages/flight, and the existing ngrx/flight.actions.ts and ngrx/flight.reducer.ts files. Move the flight state into pages/flight/state-management, register the reducer and effects with the requested feature APIs, and separate the global state module and IDB interface. Done means every checklist item is complete and the original app-level flight registration is removed.
Written by the indexing model from the issue text.
Description
Below you have a check list to follow.
A detailed step by step description on how to solve the exercise is in the wiki.
- Create a new folder
state-managementunderpages/flight - remove
flightReducerformapp.module.ts - Move
ngrx/flight.actions.tsandngrx/flight.reducer.tsto the newly created folderstate-management - Register
flightReducerinpages/flight/state-managementby using theStoreModule.forFeaturemethod- Adopt imports
- Register
flightEffectsinpages/flight/state-managementby using theEffectsModule.forFeaturemethod- Adopt imports
- Refactor the
ngrxfolder. Create.modulefor global state management file and moveIDBinterface into separate file.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BioPhoton/angular-ngrx-refactoring
-
Filter not workingOpen
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
0. PreconditionsOpen
Difficulty 1/5 Under an hour Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in BioPhoton/angular-ngrx-refactoring
Similar issues
-
"Contains" page watch never matches when its text has a trailing spacePossibly taken @RaphaelFakhri claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
CopilotKit/openmuse#184 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
bootstrap-vue-next/bootstrap-vue-next#3357 ·
Maintainers usually reply within 1 day
-
[quality] tide.ts: six mutation survivors in the merge-queue gate, draft refusal, fork-403 workflow-file diagnosis and getPull's fork flag are unpinned by any testPossibly taken @hivecommons-hive claimed this today. Openagent/quality needs-kind stage/040-covered-by-pr testing
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cncf/prow-github-actions#517 · 1 comment ·
Maintainers usually reply within 2 days
-
Unsampled pageload span is profiled when profileLifecycle is 'trace' (browser UI profiling)Possibly taken @Jxxunnn claimed this today. OpenBrowser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
getsentry/sentry-javascript#25497 · 1 comment ·
Maintainers usually reply within 1 day