Limenius / ReactRenderer

Client and Server-side React rendering from PHP
MIT License
237 stars 37 forks source link

implement bufferedData #23

Closed jens-kompter closed 5 years ago

jens-kompter commented 6 years ago

To reduce the size of above-the-fold content we want to output the props right before the closing body tag. In order to achive that, I implemented simple output buffering.

See https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent for more information

This change will not break any existing usages of react_component

nacmartin commented 5 years ago

Thanks @jens-kompter!