Re:JSX in detail
by blauditore on Friday September 08, 2017 @05:52AM
(#15199015)
I'm not sure what exactly you're referring to by macros. A container for boilerplate code to avoid repetition, as in templating languages? If so, the React solution would probably be extracting a simple component which just provides markup.
[ Parent
| on HN ]
There are no comments on this comment yet.