Comments (7)
This issue is fixed in 0.2.1
.
from react-spinners.
Hi @Pixelatex, can you provide more details?
For example, what version of React were you using?
What version of react-spinners
were you using?
Was there any deprecation warnings in the terminal output?
The earlier 0.1.x
versions were a little buggy.
I don't quite understand why devDependencies are causing issues since they should be installed in the development environment.
For example, if I start new project and run npm install react-spinners
, eslint
, a devDependency is not in the node_modules
folder.
from react-spinners.
I had a similar issue, and for me just installing the latest prop-types
module fixed the issue.
Hope this can help you, @Pixelatex
from react-spinners.
does this mean that prop-types
need to be added as a dependency?
from react-spinners.
I think that you were relying on a now deprecated module feature which would explain why updating it breaks it. I can't recall what the issue was exactly but it was not something I could fix instantly so I had to drop your module from my project. I will try a test tomorrow and post the error if I can duplicate it again.
from react-spinners.
does this mean that prop-types need to be added as a dependency?
yes I think so.
You're using it in the code (like here) but the package is not referenced in package.json.
I think it should be a peerDependency just like react
and react-dom
from react-spinners.
looks like prop-types
repo recommends that the package be added to dependencies. Will fix this
from react-spinners.
Related Issues (20)
- Prop `style` did not match HOT 2
- Feature request: Support React Native HOT 3
- Pacman Loader overlaps with other content HOT 2
- Update colors prop to validate using typings
- FaderLoader does not have feature to resize. HOT 3
- beat_loader.js(x) HOT 1
- NextJS 13 doesn't render SSR HOT 2
- Delay at beginning of spinner HOT 1
- Font-size 0 breaks em CSS unit sizing for Pacman loader
- Is It Possible To add a variable CSS Color as Color? HOT 1
- Bounce & Pacman - broken on first part of the animation
- Spinner isn't not Spinning in Nextjs 14 (Server Side) HOT 8
- FadeLoader is not centered
- Proposal for Implementing Search Filters on React Spinners
- HashLoader color is taken from the last HashLoader component
- HashLoader rgb color hides 2 lines
- MoonLoader wobbles when provided a size not evenly divisible by 7
- Upgrading from 0.13.8 to 1.0.0 HOT 3
- Type error HOT 1
- FadeLoader size property similar to MoonLoader HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-spinners.