You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2024. It is now read-only.
I'm looking for a way to reflect on generated prop-type instances. The purpose is for use in developer tooling.
The problem is that the generated instances are opaque functions with any meaningful metadata hidden in closures. I could maybe see this by design to discourage monkey-patching, but it's closing the door on some cool possibilities.
Hello!
I'm looking for a way to reflect on generated prop-type instances. The purpose is for use in developer tooling.
The problem is that the generated instances are opaque functions with any meaningful metadata hidden in closures. I could maybe see this by design to discourage monkey-patching, but it's closing the door on some cool possibilities.
Example: https://runkit.com/awfulaxolotl/lack-of-reflection-in-prop-types
A use case: sullvn/tastes#6
So I guess my question comes down to:
Thanks!