Skip to content

STRML/react-bench

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Server Rendering Benchmark

This repository was created for react/#812.

To run:

npm install

# Clone react so we can make adjustments
git submodule init [email protected]:facebook/react.git
cd react
npm install

# Link new fbjs transformer
npm install strml/fbjs#hoist_node_env
ln -sf $(pwd)/node_modules/fbjs-scripts $(pwd)/node_modules/fbjs/scripts

# Edit gulpfile; add 'es6.constants' to blacklist.
nano gulpfile.js

# Build react
npm run build

# Ready...
cd ..

# Showtime
node server

About

Testing for React#812, where calls to process.env slow down server rendering.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%