7 ms·
Isomorphic Apps Done Right with React Nexus
- glaciusNexus 12y agoVery Nice !
- rajivtiru 12y agoReact 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.