Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boilerplate React fiddle gives warnings and errors in fiddle Console #1862

Open
chrisjj opened this issue May 14, 2024 · 0 comments
Open

Boilerplate React fiddle gives warnings and errors in fiddle Console #1862

chrisjj opened this issue May 14, 2024 · 0 comments

Comments

@chrisjj
Copy link

chrisjj commented May 14, 2024

https://jsfiddle.net/boilerplate/react-jsx shows in fiddle Console:

"You are using the in-browser Babel transformer. Be sure to precompile your scripts for production - https://babeljs.io/docs/setup/"
<a class='gotoLine' href='#"Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"'>"Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"</a>
["Warning: Each child in a list should have a unique \&quot;key\&quot; prop.%s%s See https://reactjs.org/link/warning-keys for more information.%s", "

Check the render method of `TodoApp`.", "", "
    at li
    at TodoApp (&lt;anonymous&gt;:3:5)"]

image

Or is that warnings plural. Hard to tell... EDIT: browser console says 2 warnings and 2 errors:

image

of which one error is absent from the fiddle Console.

PS The lack of line wrap is really painful. Please add my vote for this to be fixed.

@chrisjj chrisjj changed the title Default Reat fiddle gives error Default React fiddle gives error May 14, 2024
@chrisjj chrisjj changed the title Default React fiddle gives error Default React fiddle gives warning May 14, 2024
@chrisjj chrisjj changed the title Default React fiddle gives warning Default React fiddle gives warnings and errors in fiddle Console May 14, 2024
@chrisjj chrisjj changed the title Default React fiddle gives warnings and errors in fiddle Console Boilerplate React fiddle gives warnings and errors in fiddle Console May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant