react/fixtures
Flarnie Marchan ce3ecfb1df [#9712] fix <input type="number" /> value '.98' should not be equal to '0.98'. (#9714) (#9929)
* [#9712] fix <input type="number" /> value ".98" should not be equal to "0.98".

* fix eslint error

* fix label error
2017-06-12 10:10:24 -07:00
..
browserify Fix AMD and Brunch issues (#8686) 2017-01-06 17:24:23 +00:00
brunch Fix AMD and Brunch issues (#8686) 2017-01-06 17:24:23 +00:00
dom/src/components/fixtures/number-inputs [#9712] fix <input type="number" /> value '.98' should not be equal to '0.98'. (#9714) (#9929) 2017-06-12 10:10:24 -07:00
rjs Fix AMD and Brunch issues (#8686) 2017-01-06 17:24:23 +00:00
systemjs-builder Fix AMD and Brunch issues (#8686) 2017-01-06 17:24:23 +00:00
webpack Fix ReactWithAddons umd build 2017-04-06 16:03:49 -07:00
webpack-alias Fix ReactWithAddons umd build 2017-04-06 16:03:49 -07:00
build-all.js Fix AMD and Brunch issues (#8686) 2017-01-06 17:24:23 +00:00
globals.html Fix missing react in create-react-class (#9761) 2017-06-10 11:06:48 -07:00
README.md Fix AMD and Brunch issues (#8686) 2017-01-06 17:24:23 +00:00
requirejs.html Fix missing react in create-react-class (#9761) 2017-06-10 11:06:48 -07:00
systemjs.html Fix AMD and Brunch issues (#8686) 2017-01-06 17:24:23 +00:00

Manual Testing Fixtures

This folder exists for React contributors only.
If you use React you don't need to worry about it.

These fixtures verify that the built React distributions are usable in different environments.
They are not running automatically. (At least not yet, feel free to contribute to automate them.)

Run them when you make changes to how we package React, ReactDOM, and addons.

How to Run

First, build React and the fixtures:

cd react
npm run build

cd fixtures
node build-all.js

Then run a local server at the root of the repo, e.g.

npm i -g pushstate-server
cd ..
pushstate-server .

(Too complicated? Send a PR to simplify this :-).

Then open the corresponding URLs, for example:

open http://localhost:9000/fixtures/globals.html
open http://localhost:9000/fixtures/requirejs.html
open http://localhost:9000/fixtures/systemjs.html
open http://localhost:9000/fixtures/browserify/index.html
open http://localhost:9000/fixtures/brunch/index.html
open http://localhost:9000/fixtures/rjs/index.html
open http://localhost:9000/fixtures/systemjs-builder/index.html
open http://localhost:9000/fixtures/webpack/index.html
open http://localhost:9000/fixtures/webpack-alias/index.html

You should see two things:

  • "Hello World" fading in with an animation.
  • No errors in the console.