React.Node problem
See original GitHub issueReact.Node (https://flow.org/en/docs/react/types/#toc-react-node) was introduced in flow 53 as universal type for react render return type. Using this type follows to such warning:
WARNING in ./some-file.js
60:48-58 "export 'Node' (imported as 'React') was not found in 'react'
Which is true, because this type provided only by flow.
I guess React.Node
should be replaced by plugin to something like PropTypes.element
?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
react-scripts fails to build project with Node 17 #11562 - GitHub
Describe the bug we have a CRA app, it used to build with Node 14.x very fine, today I upgrade nodejs to 17.0.0...
Read more >Problem in connecting node js with react js - Stack Overflow
When making an API call, React will try first try and look it up in the frontend, if it cannot find anything it...
Read more >Error on running create-react app with Node.js install only via ...
Error on running create-react app with Node.js install only via nvm without node in $PATH and /usr/bin/node.
Read more >Tutorial: Create a Node.js and React app in Visual Studio
In this tutorial, you learn how to: Create a Node.js project; Add npm packages; Add React code to your app; Transpile JSX; Attach...
Read more >NPX Create React APP Not Working - YouTube
It should create a new react js project without installing create-... ... create-react-app node:internal/modules/cjs/loader throw error So ...
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
Thanks for the report! Published as 6.0.0. Let me know if it works for you.
Makes sense. That is great, thanks!
Were the
Element
andChildrenArray
types (https://flow.org/en/docs/react/types/) previously supported? Once I see howNode
is done, I would happily open a PR to add those as well.