storytel / react-redux-spinner Goto Github PK
View Code? Open in Web Editor NEWAn automatic spinner for react and redux
Home Page: https://storytel.github.io/react-redux-spinner/
License: MIT License
An automatic spinner for react and redux
Home Page: https://storytel.github.io/react-redux-spinner/
License: MIT License
Master has been updated to add support for redux 4.0. Is it possible to release a new version (1.1.4)? Yarn currently complains about unmet peer dependency.
Hi ,
Is there a way to assign an Id to a spinner ?
For instance if I do not want to start a nother spinner if one with that Id is already running ?
The same goes for ending the spinner, do not end if the id count is 0.
Tx
I am getting the following error:
/home/andrey/Projects/Datarisk/app-frontend/node_modules/react-redux-spinner/dist/nprogress.css:2
#nprogress {
^
SyntaxError: Invalid or unexpected token
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at Module._extensions..js (module.js:579:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/andrey/Projects/Datarisk/app-frontend/node_modules/b
abel-register/lib/node.js:152:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/andrey/Projects/Datarisk/app-frontend/node_modules/react-redux-spinner/dist/index.js:8:1)
error Command failed with exit code 1.
I have set up everything correctly. I use webpack and I have a loader for CSS.
What are my options?
The current 0.4.0 release is missing documented features (like config).
Release a new version and publish to npm.
I'm getting an error when the library is trying to load a css module:
Browserify Error { [Error: Cannot find module '!!./../css-loader/index.js!./nprogress.css' from /node_modules/react-redux-spinner/dist']
Is it possible to change the svg of spinner ?
Hello!
There is server side rendering when try to use react-redux-spinner. The problem with window
object:
ReferenceError: window is not defined
/Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:200
return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase());
Stack:
at /Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:200:31
at memoize (/Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:195:48)
at module.exports (/Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:217:69)
at Object.<anonymous> (/Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:97:37)
at __webpack_require__ (/Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:30:30)
at Object.<anonymous> (/Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:71:2)
at __webpack_require__ (/Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:30:30)
at Object.defineProperty.value (/Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:57:19)
at __webpack_require__ (/Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:30:30)
at /Users/admin/mt_front/node_modules/react-redux-spinner/dist/index.js:50:18
even after dispatching [ pendingTask ]: end
loader stays in view. loader only leaves view once the horizontal bar reaches the right side of the screen. doesn't seem to coordinate with actual dispatch of end action.
Hi there,
I try to use your spinner on my application, and, I have more than ten reducers, and I used combineReducers. So, my question is, how we use it with multi reducers?
Thanks,
Is there any way to have multiple instance of this by using the curry design? or any design?
What I am trying to do is, basically have a bar per bootstrap card, vs 1 bar across the entire page. I want to have the ability to start n stop each one individually based on that reducer, etc...
Is this at all possible with the current design?
How do I change the location of the progress bar and the spinner? Let's say I have a query <form>
, and I want to have the spinner and the progress bar appear at the bottom of the form after user presses <button>
. How to achieve this?
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.