I should write a blog post on 100 different reasons why JSX is so bad. My list keeps growing...
(Note: I fully understand the cause of the bug below. I just don't think this should be a gotcha to begin with)
(Note: I fully understand the cause of the bug below. I just don't think this should be a gotcha to begin with)
1 / 2
Comments
But with your screenshot, I guess I wont be trying JSX in a while !
Can you point to something better, though?
h('div', {propsHere}, [childrenHere])
Or
div({propsHere}, [childrenHere])
I don't have a library to point you to, but this approach is very easy to implement.