mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-30 17:33:21 +08:00
Summary: There is a little bit of dogscience here, but I believe JSX is wanting `tabIndex` instead of `tabindex`. We have `tabindex` as an attribute in our Algolia search; changing it to `tabIndex` removes the warning. **Before** <img width="1262" alt="screenshot 2016-07-12 11 05 47" src="https://cloud.githubusercontent.com/assets/3757713/16772199/4bff2d0e-4821-11e6-822f-a729656fec53.png"> **After** <img width="1254" alt="screenshot 2016-07-12 11 09 47" src="https://cloud.githubusercontent.com/assets/3757713/16772201/4e09eb34-4821-11e6-9c5e-5e3d7e21c4bd.png"> Closes https://github.com/facebook/react-native/pull/8721 Differential Revision: D3550398 fbshipit-source-id: b7821d1940cd4c7880ee6fb907bcb16b44087750
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