7eded2d8ed
Summary: Some of the operations, like `oneOf` and `arrayOf`, were doing joins on arrays of potential tags, like `<span>` or `<a>`, which would stringify them to `[object Object]`. This introduces a new `spanJoinMapper` which suppresses the trailing separator like `join` but wraps elements in `<span>` rather than `concat`ing into a string. Latest master is pretty broken: {F66059444} Nested `color` and some other props were broken even before https://github.com/facebook/react-native/commit/a7a3922b89d821b9a34d26bdcc7676e747a2716 {F66059446} All fixed in this diff: {F66059445} Reviewed By: mkonicek Differential Revision: D4670441 fbshipit-source-id: ddc10f13b3bdc6a1e799fa06a4e206f8dbd08769 |
||
---|---|---|
.. | ||
core | ||
jsdocs | ||
layout | ||
server | ||
src/react-native | ||
styles | ||
.gitignore | ||
README.md | ||
package.json | ||
publish-gh-pages.js | ||
setup.sh | ||
showcase.json |
README.md
Install prerequisites
Before running the website, make sure you've run the following:
git clone https://github.com/facebook/react-native.git
cd react-native
npm install
Run the website server
The first time, get all the website dependencies loaded via
cd website
npm install
Then, run the server via
npm start
open http://localhost:8079/react-native/index.html
Anytime you change the contents, just refresh the page and it's going to be updated.
Publish the website
cd website
npm run publish-website