GithubHelp home page GithubHelp logo

Comments (5)

bikasv avatar bikasv commented on April 27, 2024 5

I just read it up the blog update and response from @gaearon. It looks like React version below 15.x is not supported in new Devtool - https://reactjs.org/blog/2019/08/15/new-react-devtools.html

We've to compile the older version manually to have it working for older React version. Details are given here - https://reactjs.org/blog/2019/08/15/new-react-devtools.html#how-do-i-get-the-old-version-back

from react-devtools.

alsaidib avatar alsaidib commented on April 27, 2024 2

You just need to disable react devtools form Chrome extensions list

OR

just install the old version

npm install --dev react-devtools@^3

https://reactjs.org/blog/2019/08/15/new-react-devtools.html#how-do-i-get-the-old-version-back

from react-devtools.

dusnoki avatar dusnoki commented on April 27, 2024 1

I'm having the same issue as you. Removing dev tools fixes app. Not quite sure what is going on!

from react-devtools.

bvaughn avatar bvaughn commented on April 27, 2024 1

This issue has already been reported in the main React repo:
facebook/react#16462

This repository is for the legacy DevTools extension (v3) and is in the process of being shut down.

Thank you!

from react-devtools.

codingleo avatar codingleo commented on April 27, 2024

I had the same problem where I've looped around components and used something like id from some model. Changing it to index of the array solved the issue for me.

Not working:

                   <Table bordered>
                        <tbody>
                            {props.userList.map(user => (
                                <tr key={`${user.id}`}>
                                    <td>{user.completeName}</td>
                                    <td>{user.email}</td>
                                </tr>
                            ))}
                        </tbody>
                    </Table>

Worked again with:

                    <Table bordered>
                        <tbody>
                            {props.userList.map((user, index) => (
                                <tr key={`${index}`}>
                                    <td>{user.completeName}</td>
                                    <td>{user.email}</td>
                                </tr>
                            ))}
                        </tbody>
                    </Table>

Update 1:
By using it with array index is not a good practice (so consider it my palliative plan), so I've tried using other model related data as key, then I had other warnings while rerendering it with hot-reload:

Screenshot from 2019-08-19 13-46-09

Not sure if it's related.

from react-devtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.