react-promise
react-promise copied to clipboard
a react.js hook for general promise in typescript
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...
I tried passing usePromise something like this, but I run into failure: `getAccess.bind('options')` Any advice?
Looks like a déjà vu of #9. See on this package viewer: https://www.jsdelivr.com/package/npm/react-promise?version=2.1.0&path=dist Clicking on the main file produces 'not found' error: https://cdn.jsdelivr.net/npm/[email protected]/dist/react-promise.cjs.min.js All seemed fine in 2.0.3: https://cdn.jsdelivr.net/npm/[email protected]/dist/react-promise.cjs.min.js For...
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator See full diff in compare view [](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot...
When my webpack project (which uses [source-map-loader](https://webpack.js.org/loaders/source-map-loader/)) consumes react-promise, it consistently outputs a build warning: `WARNING in D://node_modules/react-promise/dist/esm/usePromise.js Module Warning (from D://node_modules/source-map-loader/index.js): (Emitted value instead of an instance of Error)...
I am getting the following error on the browser console, using react-promise v3.0.2: > Uncaught Invariant Violation: Objects are not valid as a React child (found: object with keys {loading,...
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. Commits - [`754f0c2`](https://github.com/jonschlinkert/mixin-deep/commit/754f0c20e1bc13ea5a21a64fbc7d6ba5f7b359b9) 1.3.2 - [`90ee1fa`](https://github.com/jonschlinkert/mixin-deep/commit/90ee1fab375fccfd9b926df718243339b4976d50) ensure keys are valid when mixing in values - See full diff in [compare view](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Maintainer changes This...
The `componentWillRecieveProps` lifecycle hook is being deprecated, it would be nice if this library was refactored to not use it so it can continue to be used in React 16.3...
https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in-TypeScript#generic-type-arguments-in-jsx-elements Should the README.md notice be removed?
A library definition to use react-promise with flow types would be awesome. See: https://github.com/flowtype/flow-typed/wiki/Importing-And-Using-Type-Definitions