GithubHelp home page GithubHelp logo

isaacplmann / ngrx-query Goto Github PK

View Code? Open in Web Editor NEW
23.0 5.0 1.0 5.89 MB

ngrx-query is a library for querying and managing network state in Angular (2+) applications that use ngrx

License: MIT License

TypeScript 79.57% JavaScript 15.71% HTML 3.97% CSS 0.75%
angular ngrx redux-query redux network retry optimistic-updates

ngrx-query's Issues

Support PATCH as a valid HttpOption method

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'.

Adding params to the requests

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.

@effects examples?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.