Robert Chang
c546230adb
change a word in performance docs ( #7442 )
9 years ago
Daniel Lo Nigro
d457201862
Upgrade to Jekyll 3
Full list of changes is at https://jekyllrb.com/docs/upgrading/2-to-3/ . The tl;dr of it is:
- Relative permalinks were removed, so all the files in the `docs` subdirectory need their permalink to be prefixed with `docs/`
- `post` and `page` types were renamed to `posts` and `pages` respectively
- `jekyll-paginate`, `pygments` and `redcarpet` are all now optional, so I needed to explicitly add it to the Gemfile. Jekyll now uses `rouge` rather than `pygments` for syntax highlighting, but rouge does not support highlighting individual lines (`hl_lines`) so we need to continue using Pygments.
- Layout metadata (eg. `sectionid`) is now on a `layout` variable rather than `page`
Tested the following pages and confirmed that they all work:
- "Docs" link (getting started page): http://127.0.0.1:4000/react/docs/getting-started.html
- Downloads: http://127.0.0.1:4000/react/downloads.html
- Tutorial: http://127.0.0.1:4000/react/docs/tutorial.html
- A few pages under the "docs" subdirectory, to confirm they're working properly:
- http://127.0.0.1:4000/react/docs/addons.html
- http://127.0.0.1:4000/react/docs/why-react.html
- http://127.0.0.1:4000/react/docs/create-fragment.html
- A few tips:
- http://127.0.0.1:4000/react/tips/false-in-jsx.html
- http://127.0.0.1:4000/react/tips/style-props-value-px.html
- Non-English versions of the page:
- http://127.0.0.1:4000/react/docs/getting-started-it-IT.html
- http://127.0.0.1:4000/react/docs/getting-started-ja-JP.html
9 years ago
Ben Alpert
382dce686a
Point people to prod build in perf docs ( #6857 )
9 years ago
Zach Ramaekers
6f8388f703
adding documentation pages for shallowCompare addon
9 years ago
Ben Alpert
4dec050f5d
Document context
Fixes #580 .
9 years ago
Levi Buzolic
8239de2570
Update Advanced Performance code examples so they would output values
Noticed the code examples in *Advanced Performance* wouldn't be rendering the example props, this could lead to some minor confusion for new users.
10 years ago
Joshua Go
f20503e106
Fix typos
Just s/Javascript/Javascript/g and punctuation changes.
10 years ago
Tsung Hung
04fac68f10
updated some typos, grammers, and made sentences sound better
10 years ago
Reed Loden
dd010b34e2
SSL/TLSize all the things! (convert http:// to https:// where appropriate)
Update links to use https:// where it is supported. There's probably a lot
more that could be fixed, but these are the core ones I found (especially
the download links in order to prevent MITM attacks). Note that there are
some fb.me links that will redirect to http:// even while accessed over
https://, but this seemed like the best way to fix those for now.
NOTE: Only non-third-party files were modified. There are references to
http:// URLs in vendored/third-party files, but seems appropriate to fix
upstream for those rather than editing the files.
Also, copy one image locally to the blog, as it was hotlinking to a site
that did not support https://.
Last, use youtube-nocookie.com instead of youtube.com for video embeds,
as the former doesn't try to set a cookie on load (privacy enhancement).
10 years ago
Alex
011c764730
"Advanced performance" typo fix
Example code used the key "propsTypes" - correct to "propTypes"
10 years ago
Paul O’Shannessy
54a8dba157
[docs] Fix typo
Introduced in #3589
10 years ago
Seyi Adebajo
4f618ca401
Documentation: Suggested edit adds clarity regarding when 'shouldComponentUpdate' is triggered and what the 're-rendering' process entails.
10 years ago
Ahmad Wali Sidiqi
f7cf7ab511
Fix small typo in 11-advanced-performance.md.
"React didn't even had"->"React didn't even have"
http://english.stackexchange.com/questions/204603/proper-usage-of-didnt-had-or-didnt-have
10 years ago
Christopher Chedeau
fb5ed400a7
Tweaks on Advanced Performance
10 years ago
Christopher Chedeau
97e8607897
Advanced Performance Doc
10 years ago