DEV Community

Vicente G. Reyes
Vicente G. Reyes

Posted on

react_devtools_backend.js:2655 Warning: Each child in a list should have a unique "key" prop

I know the error. It says that I need to place a key={object.id} in the map() function of my code. I have that but the error still shows on the browser console. Any idea why this is happening?

          <&gt
            <section className="bg-light py-5">
                <div className="container">
                    <div className="row justify-content-center">
                        <div className="col-lg-10">
                            <h1

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay