GithubHelp home page GithubHelp logo

uhlryk / react-context-ajax Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 876 KB

Makes the superagent ajax calls available to the react component hierarchy

License: MIT License

JavaScript 99.96% HTML 0.04%

react-context-ajax's People

Contributors

uhlryk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mjunaidi

react-context-ajax's Issues

allow to stop request

It is useful during uploading big files when we want to stop process.
Also when some request is sending in component and we have to unmount this component

progress callback

Shows progress of sending request (for example when some files are uploaded)

request can define names

It should be possible to make call and define some string name.
And in global callback function should also get info about request name. It will helps with flux and redux strategies

add global callback

If there is global callback, this callback have to call done function, only then it will call local callback.
This will allow to chose which response is ok for local callback and even format, validate, sanitize it.

add query prop

Allow to set global queries which will be send in all requests

add body props

Allow to set global body params which will be send in all post and put requests

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.