Parsing prop variables with path to string for easy debugging. #488
yogeshgalav
started this conversation in
General
Replies: 2 comments 3 replies
-
这是来自QQ邮箱的自动回复邮件。
我已经收到了你的来信,我会尽快回复。
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@znck What you think about this? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem:
For any component or input field,
if a developer wants to know where it's getting props from,
then they have to search in template by class or id or component name,
and this process become lengthier when webpage or component becomes bigger.
Solution:
The very easy solution to it could be to show developer the actual variable name or path in data-props- attribute.
For example, if a component or an input field looks like this in code,
then it could look like this in HTML
It may be simple and dumb requirement but the time and effort it would save for developer would be enormous.
Thank you and have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions