suprraz / babel-plugin-react-element-info Goto Github PK
View Code? Open in Web Editor NEWExpose React element's name and filename for testing
Expose React element's name and filename for testing
It looks like the 1.0.2 update didn't get published. I'm currently running it from a fork with the built version committed but an official version bump would be awesome. Thanks!
unknown props found: data-qa-node, data-qa-file
This could be a limitation anytime prop type validation is used.
It works fine. But does not add data-qa attributes to all React Components .
I think the issue is with the Components that are loaded imported dynamically.
Currently it only shows the filename.
I'd like to show the file path from my project root.
Hi!
Is it possible to disable this plugin for selected elements? In my project I use <React.Fragment />
and I get this error:
Warning: Invalid prop `data-qa-file` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.
Does anyone have any idea what to do about it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.