Skip to content

Isomorphic Apps Done Right with React Nexus

blog.rotenberg.io
8 pointselierotenberg2 comments
On HN

Comments

React Nexus basically recursively traverses the react component tree and calls getNexusBindings on each component (recreating what react does natively with its lifecycle methods).

However, this incurs the cost of instantiating each component in the tree twice. Once for traversing asynchronously for data, again for React.renderToString or React.render

This would cause slower initial page loads for SPAs. Otherwise, very cool implementation.

Very Nice !

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.