Comments (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)
- Truncation of key prop in GUI HOT 1
- Improve HOC search UX HOT 1
- Profiling does not work in Chrome HOT 4
- Improve globaly state/props edition. HOT 3
- Don't show "context" for classes without either contextType or contextTypes HOT 9
- Doesn't scroll down to the component when inspecting HOT 10
- Potential issue when using typescript. HOT 3
- node type filtering HOT 4
- Some memo components displaying as Anonymous HOT 6
- Hook names grabbing solution w/o changing api HOT 1
- Inspecting complex values HOT 5
- Style editor doesn't support single quotes for string values HOT 2
- The Context hook is not shown unless another hook is also presen like useState or useEffect HOT 7
- can not edit state with version `2f1c100` HOT 2
- Document/allow custom panel/extensions HOT 1
- Occasional FOUC when loading DevTools HOT 1
- Tooltips appear to be Times New Roman in Firefox HOT 2
- An easier way to see all siblings HOT 1
- Fully disable 0.14 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-devtools-experimental.