Rheostat initialize creates a conflict with React-dates initialize
See original GitHub issueIf you install both packages they are unable to work, they seem to overwrite each other since v3.0.0 😞
...
"react-dates": "^16.7.0",
"rheostat": "^3.0.0",
...
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:7
Top Results From Across the Web
Add a Date Picker with Airbnb's React Dates Package
We can add a date picker easily with Airbnb's React Dates packages. ... We import the react-dates/initialize package to run the initialization code....
Read more >react-dates broken - not recognising css? - Stack Overflow
Ok i found an answer for this problem, so: Are you trying to render the calendar inside another element that is not always...
Read more >React custom datepicker: Step-by-step - LogRocket Blog
The date input type presents a datepicker to the user, however, the appearance of this datepicker is inconsistent across browsers.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@castrolem Ahhh thank you for bringing this to our attention. :X This is the usage we should have thought about (since it is our own) and added to the README when we release this major version. If you want to get both working, right now, the easiest way to do so is to do the following instead of importing the
initialize
script:I’ll add this to the README (here and in
react-dates
) as well as the motivation behind moving toreact-with-styles
and dealing with these global themes and interfaces while we mull over how we can improve this process.@ljharb @lencioni for thoughts on this as well.
Maybe instead of having the defaults overwrite the theme, it should merge them, allowing the namespaces to prevent collisions?