ended7월 10일· 1 sources

React displayName Without Strings: A C#-Inspired TypeScript Proxy Trick

Why it matters

It started with a very small problem. In our React component library, we wanted every component to have a nice displayName . So we did the obvious thing: Component.displayName = "Component"; Simple. C...

1
Sources
+0
24h
Growth
73d
Active

Sources

Related Issues