News for hackers. Stuff that matters.
Re:Happiness is a Boring Stack by xamuel on Tuesday October 25, 2016 @08:23PM (#12792960)
Sure, you can read React docs for an afternoon and get a basic feeling for it.

Then there's the million fine points to master. Like the minutiae of React.propTypes. Or how to use {' '} to avoid having spaces rudely removed. The fine details of react component lifecycle, or how you have to set "className" instead of "class", or ... ...

The rough high-level idea is ALWAYS easy. The devil is ALWAYS in the details.

Re:Happiness is a Boring Stack by HeyImAlex on Tuesday October 25, 2016 @10:10PM (#12793374)
> Or how to use {' '} to avoid having spaces rudely removed.

I think you can type   like you would do in html.

Re:Happiness is a Boring Stack by rejschaap on Wednesday October 26, 2016 @06:19AM (#12795274)
It is not exactly the same though.   is a non-breaking space, which means the browser will keep the elements together on the same line. With a normal space the elements could be rendered on seperate lines.