News for hackers. Stuff that matters.
Re:Our long term plan to make GitLab as fast as possible wit... by msoad on Tuesday February 07, 2017 @01:20AM (#13587494)
React has no templates which is an advantage until it hits you with large bundle sizes. Every line of JSX is transformed into a longer JavaScript program.

I love that React makes developers more productive with JSX but there should be a way of outputting HTML for large template like React components. Browser are much happier dealing with HTML.

Re:Our long term plan to make GitLab as fast as possible wit... by haukur on Tuesday February 07, 2017 @03:12PM (#13592298)
You can convert a component to static markup with react-dom (the same package used to attach the app to the container element).