question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React 16.0.0 Errors

See original GitHub issue
warning.js:33 Warning: Invalid value for prop `className` on <div> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior
    in div (created by SearchBox)
    in form (created by SearchBox)
    in div (created by SearchBox)
    in SearchBox (at SearchBase.js:24)
    in div (at SearchBase.js:23)
    in div (at SearchBase.js:13)
    in SearchBase (at Search.js:412)
    in div
    in div
    in Unknown (at Search.js:411)
    in div

As far as I can tell, the bemBlocks feature is 100% broken. None of my classes are added anymore. Was perfect before:

image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
joemcelroycommented, Oct 2, 2017

Yeh a few people have mentioned issues with React 16 and bem-cn library. Il try and upgrade soon.

1reaction
ssetemcommented, Oct 4, 2017

cool, almost fixed in the core now, so doesn’t require toString()

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not resolve dependency error peer react@"^16.8.0
While trying to install npm install , I am getting below error, could someone please advise, what is the best approach to resolve...
Read more >
"Could not resolve dependency" error with "react@^16.0" #9426
Current Behavior Installing @react-navigation/stack fails due to dependency error. How to reproduce I've just created a new react-native ...
Read more >
React v16.0 – React Blog
Among the changes are some long-standing feature requests, including fragments, error boundaries, portals, support for custom DOM attributes ...
Read more >
could not resolve dependency peer react@ ^16.0.0 - You.com
I tried to install react-scroll-horizontall plugin but it failed because of react core dependencies. Please, read error below. Is there an easy way...
Read more >
[Solved]-Migration to React 16.0.0 Error: Cannot find module ...
Coding example for the question Migration to React 16.0.0 Error: Cannot find module "react/lib/ReactComponentTreeHook"-Reactjs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found