Hacker News new | ask | show | jobs
by k-taro56 28 days ago
What’s the difference between this and `React.createElement`?
1 comments

The big difference is that you don't have to use all of React! Plus with the ability to run child functions, you can inject arbitrary logic inline without having to break the declarative structure.