3 ms·
> Not really "prop drilling" like its docs say. Context is a way to avoid prop drilling. > The static parts need parsing, right? You either provide a custom
by dmitriid 4y ago
> Not really "prop drilling" like its docs say.
Context is a way to avoid prop drilling.
> The static parts need parsing, right?
You either provide a custom DSL and embrace it or you claim to be "native standards" and bash JSX.
As far as I understand it's no longer just static parts either. Can't properly test this on mobile, but it looks like function calls like classMap or styleMap are only allowed in certain locations of the code, so it's already JSX-level (or more) manipulation.