Error: Minified React error #119; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=119 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
According to the console print, we can visit
http://facebook.github.io/react/docs/error-decoder.html?The page invariant=119 gets the following message:
The full text of the error you just encountered is:
addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).
Then check to see if the component in question USES the ref attribute outside of the render method. The problem I’m reporting here is the unexpected use of the ref attribute outside of the render method in the body center component of the create dialog.
debugging is hard, I have to say.
I hope I can help you.
Read More:
- webstorm npm install –save –save-exact –loglevel error react react-dom react-scripts has failed.
- An error is reported when using react app rewired to start the react project
- [W xx:xx:xx.xxx NotebookApp] 404 GET/static/components/react/react-dom.production.min.js (::1)
- react Error: Unable to resolve module mobx-react
- react Error: Objects are not valid as a React child (found: object with keys {username, password})
- 【react】 tsconfig.json Configuration of react JSX error reporting solution in
- Failed to load plugin react: cannot find module ‘eslint plugin react’ appears when running Vue project‘
- React bootstrap loading and how to use modules
- Minifiedreacterror — react error report notes
- Higher order components in react
- React Native Network Request Failed solution
- React Native: TypeError: Network request failed
- unable to access ‘https://github.com/facebook/react-devtools/‘:
- Mobile app development: installation and configuration of react native
- To solve the problem of NPM run eject error in react
- Error in value transmission of react parent-child component
- React create project error
- The echo introduced in react reports an error: xaxis “0” not found