isaacplmann / ngrx-query Goto Github PK
View Code? Open in Web Editor NEWngrx-query is a library for querying and managing network state in Angular (2+) applications that use ngrx
License: MIT License
ngrx-query is a library for querying and managing network state in Angular (2+) applications that use ngrx
License: MIT License
Currently the supported methods for HttpOptions are: 'DELETE' | 'GET' | 'HEAD' | 'POST' | 'PUT'
, however PATCH
and OPTIONS
are also a valid methods and it would be nice if the the method field in HttpOptions
supported them. Right now I'm getting around the problem by simply bypassing the typing with method: <any>'PATCH'
.
I've begun integrating this into our project as it looks like a promising way to cut down repetition for requests (of which there are a considerable amount). One small thing I ran into however was adding params to the requests -- which we do for almost all requests -- which now has to be done with string concatenation. This feels fairly clunky compared to e.g. @angular/http/common
which allows passing a map of the params.
What is your opinion on providing a optional key params
to the RequestParam
type? If you are interested I can see if I can make a PR.
Hey man,
Super excited to stumble across ngrx-query. It's exactly what I've been looking for for reducing boilerplate and managing api state in my app. Do you have examples of the best way to use this with ngrx/effects?
Thanks,
Jonathan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.