Skip to content

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

@chrisjj

Description

@chrisjj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions