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.
6 years ago
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
6 years ago
Sebastian Markbåge
896214b7d2
Document class contextType as the primary consuming mechanism ( #1283 )
* Document class contextType as the primary consuming mechanism
* Update context.md
6 years ago
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
6 years ago
Sophie Alpert
c90d27a249
Smaller code font inside list items
6 years ago
Jack Cross
c9f5085dd1
Add ReactNYC to meetups ( #1281 )
6 years ago
Sophie Alpert
026edff33c
Error boundaries docs shouldn't use class fields
6 years ago
Noel Yoo
ee8716166e
Fix typo ( #1274 )
6 years ago
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
6 years ago
Alex Wilmer
c66250a34a
add missing semi-colon in conditional rendering codeblock ( #1269 )
6 years ago
Sophie Alpert
40394f97a8
Feature headings easier to read
6 years ago
Brian Vaughn
f0ad713742
Merge pull request #1267 from bvaughn/coc-and-readme-license
Add license to README and add standard FB COC
6 years ago
Brian Vaughn
505260d646
Tweaked licensing wording in README slightly
6 years ago
Brian Vaughn
3eead83750
Added license blurb to README footer
6 years ago
Brian Vaughn
8f842296e2
Added COC
6 years ago
Tyler McGinnis
e2ee6b9f34
Remove the word "simple" ( #1257 )
I'm going to be that guy...
6 years ago
Monica Powell
2ff1f9f427
move past events to the past section ( #1252 )
6 years ago
Dustin Schau
08a6a9036e
chore: remove/update pinned gatsby-remark-prismjs plugin ( #1253 )
6 years ago
Monica Powell
88ccc6d88e
add react ladies ( #1254 )
6 years ago
Heitor Althmann
636434fb3d
Removed double "the" statement ( #1245 )
We’ll set **the the** first move to be “X” [...]
6 years ago
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
6 years ago
Dan Abramov
35992a2a4d
Fix bad word breaks in Safari
6 years ago
Dan Abramov
425cb9a429
Terminology: Lifecycle hooks -> Lifecycle methods ( #1237 )
6 years ago
Rishi Advani
41ac3cf45d
Update CONTRIBUTING.md ( #1234 )
The code example directly before the statement "Use semicolons" was missing a semicolon :)
6 years ago
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
6 years ago
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.
6 years ago
Anoop Kumar Gupta
b1588024e6
Location updated Delhi NCR ( #1225 )
6 years ago
kh0ma
fc83f24358
Chage JSON payload to prevent errors with parsing ( #1229 )
6 years ago
Dan
e89ad6306b
Fix example
6 years ago
Dan Abramov
81afcfbd87
Functional -> function ( #863 )
6 years ago
Dan Abramov
f49ae1960e
Link to a good article
6 years ago
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
6 years ago
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
6 years ago
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!
6 years ago
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
6 years ago
Sophie Alpert
95f0232d65
Clarify key wording in tutorial
Per #1181 .
6 years ago
Brian Vaughn
a52f56d897
Merge pull request #1218 from bvaughn/prism-color-accessibility-tweaks
Tweaked Prism theme to improve color accessibility
6 years ago
Brian Vaughn
d0141c9326
Tweaked Prism theme to improve color accessibility
6 years ago
Dan Abramov
8c4652b041
Change highlight color ( #1211 )
6 years ago
Jason Lengstorf
6d48f5661a
fix: redirect slugs with and without trailing slashes ( #1209 )
fixes #1208
6 years ago
Enmanuel Durán
8caa61f8c2
Fixes broken link on the community support section ( #1207 )
6 years ago
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
6 years ago
Dustin Schau
3954cfe6f3
fix: address PR feedback (thanks @bvaughn!)
6 years ago
Dustin Schau
e855f5f503
chore: rearrange import order
6 years ago
Dustin Schau
6e2340d141
style: run prettier
6 years ago
Dustin Schau
12c43455e7
chore: add prop-types validation to code example
6 years ago
Dustin Schau
251ef1e752
fix: fix the parent node issue 🎉
6 years ago
Dustin Schau
169754fb1b
refactor: tweak to use the _updateState method
6 years ago
Dustin Schau
d83238caf0
feat: get hot reloading working for js code snippets
6 years ago
Dustin Schau
57cb7abde1
chore: remove outer wrapper div
6 years ago