Coder Social home page Coder Social logo

Comments (1)

bvaughn avatar bvaughn commented on June 11, 2024 1

Realistically, I don't think this feature is worth the complexity required to support it.

Searching prop/state/hook name and value would make results very noisy which would harm the most common use case (search by name). To offset this, we would need to add more complex search controls which enabled you to choose which criteria you wanted to search by. (An inline search box would no longer be enough.)

It would also require moving all of search to the backend thread, since the frontend does not have props/state/hooks information, only component name. While this is doable, I think it would significantly increase the complexity of some already pretty complicated code. This might have a performance impact. It would definitely have a maintenance impact.

Sebastian and I did discuss this possibility earlier on in the project, but I'm not convinced at this point that it's the right trade off. (In other words, I don't think it's a feature people want often enough to justify the effort of writing and maintaining it.)

Thanks for sharing the request! I'm going to close it for now though since I don't think it's the right direction to take with the search feature. We can always re-open it later if new info surfaces.

from react-devtools-experimental.

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.