Ricky
74246c13b9
React 18 ( #4499 )
...
* [18] ReactDOM reference to createRoot/hydrateRoot (#4340 )
* [18] ReactDOM reference to createRoot/hydrateRoot
* Update note about render and hydrate
* Match the warning text
* s/Render/render
* [18] Update ReactDOMClient docs (#4468 )
* [18] Update ReactDOMClient docs
* Remove ReactDOMClient where it's obvious
* Update browser message
* Update browser message note
* Update based on feedback
* Add react-dom/client docs
* [18] Upgrade homepage examples (#4469 )
* [18] Switch code samples to createRoot (#4470 )
* [18] Switch code samples to createRoot
* Feedback fixes
* Feedback updates
* [18] Use hydrateRoot and root.unmount. (#4473 )
* [18] Add docs for flushSync (#4474 )
* [18] Add flushSync to ReactDOM docs
* Seb feedback
* More Seb feedback
* [18] Bump version to 18 (#4478 )
* [18] Update browser requirements (#4476 )
* [18] Update browser requirements
* Update based on feedback
* [18] Add stubs for new API references (#4477 )
* [18] Add stubs for new API references
* Change order/grouping
* [18] Redirect outdated Concurrent Mode docs (#4481 )
* [18] Redirect outdated Concurrent Mode docs
* Use Vercel redirects instead
* [18] Update versions page (#4482 )
* [18] Update version page
* Fix prettier
* [18] Update React.lazy docs (#4483 )
* [18] Add docs for useSyncExternalStore (#4487 )
* [18] Add docs for useSyncExternalStore
* rm "optional"
* [18] Add docs for useInsertionEffect (#4486 )
* [18] Add docs for useId (#4488 )
* [18] Add docs for useId
* Update based on feedback
* Add Strict Effects to Strict Mode (#4362 )
* Add Strict Effects to Strict Mode
* Update with new thinking
* [18] Update docs for useEffect timing (#4498 )
* [18] Add docs for useDeferredValue (#4497 )
* [18] Update suspense docs for unexpected fallbacks (#4500 )
* [18] Update suspense docs for unexpected fallbacks
* Add inline code block
* Feedback fixes
* [18] Updated Suspense doc with behavior during SSR and Hydration (#4484 )
* update wording
* wording
* update events
* Update content/docs/reference-react.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
* add link to selective hydration
* remove some of the implementation details
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
* [18] renderToPipeableStream doc (#4485 )
* new streaming ssr api
* add readable stream
* code snippets
* Rename strict effects / unsafe effects to use the reusable state terminology (#4505 )
* Add draft of 18 release post
* Add links to speaker Twitter profiles
* [18] Update upgrade guide
* Fix typo in blog title
* [18] Blog - add note for react native
* [18] Add changelog info to blog posts
* Edit Suspense for data fetching section
* Update date
* [18] Add links
* Consistent title case
* Update link to merged RFC
* [18] Update APIs and links
* [18] Add start/useTransition docs (#4479 )
* [18] Add start/useTransition docs
* Updates based on feedback
* [18] Generate heading IDs
* Add note about Strict Mode
* Just frameworks
* Reorder, fix content
* Typos
* Clarify Suspense frameworks section
* Revert lost changes that happened when I undo-ed in my editor
Co-authored-by: salazarm <salazarm@users.noreply.github.com >
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
Co-authored-by: Sebastian Markbåge <sebastian@calyptus.eu >
Co-authored-by: Andrew Clark <git@andrewclark.io >
Co-authored-by: dan <dan.abramov@gmail.com >
2022-03-29 12:03:23 -04:00
LeoTM
9c2b800f73
Update typechecking-with-proptypes.md Babel plugin-transform-class-properties ( #3825 )
2021-08-03 09:25:30 +02:00
DaniBedz
ef85b1b0fd
Update typechecking-with-proptypes.md ( #3513 )
...
Typo: "allow PropTypes to be proper applied" => "allow PropTypes to be properly applied"
2021-02-09 09:33:46 +01:00
George Bradley
923629258f
first issue: add missing comma ( #3452 )
...
Co-authored-by: gbradleypro <gbradleypro@gmail.com >
Co-authored-by: eps1lon <silbermann.sebastian@gmail.com >
2020-12-17 21:59:44 +01:00
Renato Alves
446ba517d7
Add PropType instructions for function components ( #3403 )
...
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
2020-11-25 10:20:47 +01:00
Abhishek Jain
957276e1e9
Update typechecking-with-proptypes.md with a minor addition ( #3386 )
2020-11-16 12:01:39 +01:00
Alexey Pyltsyn
d4e2730148
Use relative links
2020-09-29 09:59:28 +03:00
Chris Wilson
ec07e80be0
Remove prev/next links from the Advanced Guide ( #3269 )
2020-09-21 10:19:11 +02:00
Eduard Poracký
d16f1ee795
Add next and previous links to Advanced Guides ( #540 )
...
Co-authored-by: Eduard Poracký <eporacky@trionyx.sk >
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
2020-08-23 19:44:57 +02:00
Eduard Rastoropov
b9c59963ff
Add possible element types that accept propTypes ( #386 )
...
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
2020-08-23 19:06:50 +02:00
Taeheon Kim
dc650ecdae
Update docs about an existence of .elementType ( #2145 )
...
Hi, I've met the same issue on [here](https://github.com/facebook/prop-types/issues/200 ) at storybook and found the following [PR](https://github.com/facebook/prop-types/pull/211 ) that adds the `elementType` feature. It could find the doc on npm, but not the official react site.
2019-07-14 01:34:36 +03:00
Vlad
4d1197b3be
Add description of PropTypes.exact ( #1581 )
...
Info from https://github.com/facebook/prop-types#usage
2019-06-29 11:05:42 -07:00
Nat Alison
25df15b83e
reapply, correctly generating links
2019-02-06 18:03:29 -08:00
Nat Alison
dc1e5366e3
revert id adding
2019-02-06 18:00:52 -08:00
Nat Alison
3e49e971d0
add everything else again
2019-02-06 17:22:04 -08:00
Eugene Kopich
b147d01e75
new "Flow" URL ( #838 )
2018-04-24 18:24:05 +01:00
Sam
2df0f5af4d
Pedantic language change ( #500 )
...
* Pedantic language change
This page led to the creation of a bad question on a job interview test, leading someone to believe that functions and objects are primitives. They are not.
https://developer.mozilla.org/en-US/docs/Glossary/Primitive
* Verbiage change
2018-01-08 19:23:54 +00:00
Mike Wilcox
ec575b1c97
Fix link ( #277 )
...
Fixes the link hash
2017-11-12 18:28:13 +00:00
Brian Vaughn
0021670de2
Removed an unnecessary new-line
2017-11-07 15:26:08 +00:00
kinyaying
b66d5442f9
Update typechecking-with-proptypes.md
...
Revert the code style and change the paragraph. And thanks for @bvaughn's advise.
2017-11-07 23:07:28 +08:00
kinyaying
400a2c6c1c
Update typechecking-with-proptypes.md
...
change the words
2017-11-05 19:10:48 +08:00
kinyaying
bf28861146
Update typechecking-with-proptypes.md
...
add 'javascript' after ```
2017-11-03 22:06:28 +08:00
kinyaying
bd04b6f8ab
Update typechecking-with-proptypes.md
...
1、Declare the defaultProps alone. And it is obeying AirBNB's styleguide.
2、Someone is confused about is it OK to put propTypes and defaultProps as static props inside React class. And we can explain about this question.
2017-11-03 19:05:20 +08:00
Brian Vaughn
93aa551f1a
Reorganized 'docs' folder
2017-10-04 14:48:45 -07:00