You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
When running react-page with --dev=true, the console warning about a missing key on a react component turns into a page fatal because console is not available in the sandbox. Not sure what the right solution is here, should node's console object be forwarded into the sandbox?
ReferenceError: console is not defined
at validateExplicitKey (./node_modules/react-tools/src/core/ReactComponent.js:103:3)
at validateChildKeys (./node_modules/react-tools/src/core/ReactComponent.js:119:9)
at ReactComponent.Mixin.merge.construct (./node_modules/react-tools/src/core/ReactComponent.js:308:11)
at Object.ConvenienceConstructor [as div] (./node_modules/react-tools/src/core/ReactDOM.js:48:24)
...
When running
react-page
with--dev=true
, the console warning about a missing key on a react component turns into a page fatal becauseconsole
is not available in the sandbox. Not sure what the right solution is here, should node's console object be forwarded into the sandbox?Similar to #13.
The text was updated successfully, but these errors were encountered: