Commit Graph

4034 Commits

Author SHA1 Message Date
Sophie Alpert
d0d1fed2d0 Add documentation for Hooks proposal
Co-Authored-By: Dan Abramov <dan.abramov@gmail.com>
Co-Authored-By: Sophie Alpert <git@sophiebits.com>
2018-10-25 07:09:38 -07:00
Dorian Mullings
3bedee952d fixed minor typo in 16.6 blog post (#1290)
* fixed typo 16.6 blog post

* Update 2018-10-23-react-v-16-6.md
2018-10-23 21:34:45 -07:00
Jamie
8b5d710fa1 Fix syntax error in 16.6 blog post (#1288) 2018-10-23 19:26:26 -07:00
Dan Abramov
d88cd4ca48 Update 2018-10-23-react-v-16-6.md 2018-10-23 18:36:22 -07:00
Dan Abramov
4675ab0ed8 Add 16.6 to versions (#1287) 2018-10-23 17:17:04 -07:00
Dan Abramov
854b931866 Use 16.6.0 (#1286) 2018-10-23 17:05:04 -07:00
Sebastian Markbåge
c873141eca Add React v16.6.0 blog post (#1285)
* Add React v16.6.0 blog post

* Two hyphens so close is noisy

* Tweak links

* Let it breathe a little

* Update 2018-10-23-react-v-16-6.md

* Credit Alex
2018-10-23 16:56:09 -07:00
Brian Vaughn
43339e2611 Add docs for getDerivedStateFromError [16.6] (#1223)
* Updated error boundary docs to reference new getDerivedStateFromError

* Updated some wording in response to PR feedback

* These
2018-10-23 16:55:17 -07:00
Sebastian Markbåge
b6b15d770f Document deprecation of findDOMNode (#1263)
We might want to open an RFC for fragment refs which could solve the one
remaining use case in a better way but at least let us get the deprecation
in.
2018-10-23 16:54:04 -07:00
Sebastian Markbåge
b188555b06 Document React.lazy (#1284)
* Document React.lazy

Suspense is documented here since it's the only built-in way so far to
use it. In the future it'll likely be documented on its own more like
Error boundaries.

This hoists React.lazy as the primary way to do code splitting. However,
before getting into it we keep the recommendation to use react-loadable
for server-side rendered apps since Suspense is not yet ready for the
server.

* Tweaks

* Tweaks

* nits
2018-10-23 16:51:54 -07:00
Sebastian Markbåge
896214b7d2 Document class contextType as the primary consuming mechanism (#1283)
* Document class contextType as the primary consuming mechanism

* Update context.md
2018-10-23 16:48:02 -07:00
Sebastian Markbåge
1601307c1e Document React.memo (#1282)
* Document React.memo

* Use named functions in memo

Uses default exports

* Nits

* Tweak to "areEqual" to match the note below
2018-10-23 16:45:34 -07:00
Sophie Alpert
c90d27a249 Smaller code font inside list items 2018-10-23 10:20:18 -07:00
Jack Cross
c9f5085dd1 Add ReactNYC to meetups (#1281) 2018-10-22 16:09:17 -04:00
Sophie Alpert
026edff33c Error boundaries docs shouldn't use class fields 2018-10-21 11:30:29 -07:00
Noel Yoo
ee8716166e Fix typo (#1274) 2018-10-20 16:12:28 -04:00
Vasil Raev
34118dc303 Add Kendo suite to the Fee Based Components list (#1128)
* Add Kendo suite to the Fee Based Components list

* Update tools-ui-components.md
2018-10-19 01:02:33 -07:00
Alex Wilmer
c66250a34a add missing semi-colon in conditional rendering codeblock (#1269) 2018-10-19 01:51:56 -04:00
Sophie Alpert
40394f97a8 Feature headings easier to read 2018-10-17 12:56:47 -07:00
Brian Vaughn
f0ad713742 Merge pull request #1267 from bvaughn/coc-and-readme-license
Add license to README and add standard FB COC
2018-10-16 03:19:13 -05:00
Brian Vaughn
505260d646 Tweaked licensing wording in README slightly 2018-10-16 16:19:00 +08:00
Brian Vaughn
3eead83750 Added license blurb to README footer 2018-10-16 16:14:59 +08:00
Brian Vaughn
8f842296e2 Added COC 2018-10-16 16:13:20 +08:00
Tyler McGinnis
e2ee6b9f34 Remove the word "simple" (#1257)
I'm going to be that guy...
2018-10-14 17:59:18 -07:00
Monica Powell
2ff1f9f427 move past events to the past section (#1252) 2018-10-12 23:35:19 +01:00
Dustin Schau
08a6a9036e chore: remove/update pinned gatsby-remark-prismjs plugin (#1253) 2018-10-12 23:34:57 +01:00
Monica Powell
88ccc6d88e add react ladies (#1254) 2018-10-12 14:31:32 -07:00
Heitor Althmann
636434fb3d Removed double "the" statement (#1245)
We’ll set **the the** first move to be “X” [...]
2018-10-11 21:13:59 +01:00
Kyle Mathews
8bca96cb1b Upgrade to latest Gatsby packages (#1244)
This includes a number of fixing including this PR which prevents errors
during development when editing markdown files https://github.com/gatsbyjs/gatsby/pull/8859
2018-10-11 20:36:24 +01:00
Dan Abramov
35992a2a4d Fix bad word breaks in Safari 2018-10-10 15:17:01 +01:00
Dan Abramov
425cb9a429 Terminology: Lifecycle hooks -> Lifecycle methods (#1237) 2018-10-08 19:29:31 +01:00
Rishi Advani
41ac3cf45d Update CONTRIBUTING.md (#1234)
The code example directly before the statement "Use semicolons" was missing a semicolon :)
2018-10-07 15:08:40 -07:00
Bartosz Kaszubowski
5c3f61d312 Small changes to "classnames" tip (#1151)
Just two small changes on "Styling and CSS" page:
* tip regarding "classnames" has been placed in quote box to visually emphasize it
* link to "classnames" package now points to React related section on the page
2018-10-05 14:41:13 -07:00
Michał Gołębiowski-Owczarek
06a8850b2f HTTPS-ify lots of URLs, update some to their newer homes (#1157)
This matters for user security.

I didn't touch blog posts & pages related to past conferences.

The `content/docs` could be HTTPS-ified as well but it contains lots of HTTP
links so maybe that'd be best done in a separate PR.
2018-10-05 14:39:12 -07:00
Anoop Kumar Gupta
b1588024e6 Location updated Delhi NCR (#1225) 2018-10-05 14:29:51 -07:00
kh0ma
fc83f24358 Chage JSON payload to prevent errors with parsing (#1229) 2018-10-05 14:28:26 -07:00
Dan
e89ad6306b Fix example 2018-10-04 22:46:34 +01:00
Dan Abramov
81afcfbd87 Functional -> function (#863) 2018-10-04 22:13:09 +01:00
Dan Abramov
f49ae1960e Link to a good article 2018-10-04 10:29:40 +01:00
Joe Haddad
3ba06e06c2 Add PostCSS mention (#1220)
* Add postcss mention

* Moved next to other we

* Specify stage 3 for now

* Update 2018-10-01-create-react-app-v2.md
2018-10-04 10:21:20 +01:00
Joe Haddad
2137a7dc9a Explain that you can also use the browsers feature to target older ones (#1221)
* Explain that you can also use the browsers feature to target older ones

* adjust wording

* Update 2018-10-01-create-react-app-v2.md
2018-10-04 10:20:48 +01:00
Dustin Schau
7d12082d8b fix: prevent gatsby file detection from breaking path field (#1226)
Fixes #1088

This should fix the path issues that people intermittently run into.
Gatsby sees the relative path (and the parent node with an absolute
path), joins on the parent path and the relative path, and presumes it's
a file... which is normally good, but which here is not what we want
beacuse then we're getting a resolver of type file instead of type
string referring to the relative path of the document.

This seems to fix a (long standing?) bug where the "Edit this Page"
button is broken, as well. e.g. see [this page](https://reactjs.org/community/support.html) which _should_ have an Edit this Page button

I'd need to think more as to whether there's a cleaner fix here, but
this seems to work pretty well!
2018-10-03 15:02:44 -07:00
Joe Haddad
f2d39bec16 Create React App v2 Blog Post (#1215)
* Initial draft

* Change release URL to what will be

* Specify `node_module` compilation happens automatically

* Borrow Dan's more friendly title for vendor compilation

* Add detail to CSS Modules section

* Add demo gif for CSS Modules

* Add Sass support demo

* Rewrite

* Wordsmith

* oops

* Co-credit

* tweaks

* more links

* consistency

* tweak link
2018-10-02 02:06:23 +01:00
Sophie Alpert
95f0232d65 Clarify key wording in tutorial
Per #1181.
2018-10-01 17:43:47 -07:00
Brian Vaughn
a52f56d897 Merge pull request #1218 from bvaughn/prism-color-accessibility-tweaks
Tweaked Prism theme to improve color accessibility
2018-10-01 08:15:59 -07:00
Brian Vaughn
d0141c9326 Tweaked Prism theme to improve color accessibility 2018-10-01 07:55:05 -07:00
Dan Abramov
8c4652b041 Change highlight color (#1211) 2018-09-29 19:23:44 +01:00
Jason Lengstorf
6d48f5661a fix: redirect slugs with and without trailing slashes (#1209)
fixes #1208
2018-09-29 18:46:45 +01:00
Enmanuel Durán
8caa61f8c2 Fixes broken link on the community support section (#1207) 2018-09-29 16:24:42 +01:00
Brian Vaughn
d0603c1b6c Merge pull request #1205 from DSchau/gatsby-source-filesystem/home-example
feat: tweak plugin to use onCreateNode API, and get hot reloading working
2018-09-29 08:09:49 -07:00