Re:Isomorphic Apps Done Right with React Nexus
by rajivtiru on Tuesday March 17, 2015 @12:29AM
(#9216290)
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.
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.