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
Simen Bekkhus
8020605812
chore: update link to Jest's docs ( #3897 )
2021-09-08 10:14:59 +02:00
Marisha Parker
12b08e47bf
Update addons-test-utils.md ( #3660 )
...
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
2021-05-14 14:48:48 +02:00
Volodymyr Klymenko
40a652c781
Fix link to recipes ( #2235 )
2019-08-12 11:34:04 -07:00
Sunil Pai
8be8bf9d2f
Testing Docs ( #2165 )
...
* Testing Docs
This expands the testing docs for reactjs.org. It adds 3 main docs -
- testing.md: An entry point to the testing docs
- testing-recipes.md: Common patterns when writing tests for React Components.
- testing-environments.md: Setting up your testing environment.
With help from @alexkrolick, @kentcdodds, @gaearon
2019-08-08 22:43:59 +01:00
Kent C. Dodds
6d006ccc33
Update React Testing Library name ( #2061 )
...
Since the package was renamed to `@testing-library/react` we're trying to encourage people to drop writing "react-testing-library" in favor of "React Testing Library"
2019-06-06 13:51:27 -07:00
Mark Murray
d6d30b6c35
Rename App class component to Counter ( #1739 )
2019-03-09 00:27:44 -08:00
Alexey Pyltsyn
1a625b7b69
Merge branch 'master' into httpsify
2019-02-22 00:12:48 +03:00
Romain Linsolas
e3f43f5bdd
Fix shallow renderer link on test utils page
2019-02-14 01:24:52 +01:00
Michał Gołębiowski-Owczarek
7e4ac52af4
HTTPS-ify most insecure URLs in content/docs (& one in Acknowledgments)
...
This is a followup to #1157
2019-02-07 14:45:03 +01: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
Dan Abramov
d20be53455
Document test renderer act (temporary fix)
2019-02-06 18:26:26 +00:00
Dan Abramov
601c016f49
testing
2019-02-05 18:05:36 +00:00
Kent C. Dodds
17f2a6f9d0
Update addons-test-utils.md
2018-04-05 12:11:54 -06:00
Kent C. Dodds
9c39cb117f
add reference to react-testing-library
...
Because it will help engineers write better tests with react.
2018-04-05 10:09:59 -06:00
Daniela Borges Matos de Carvalho
dfdddfd7cd
Update test-utils to use refs correctly ( #215 )
...
* Update test-utils to use refs correctly
Update test-utils according to the new way of using refs: https://reactjs.org/docs/refs-and-the-dom.html
* Tweak
2017-10-27 12:40:58 +01:00
Joppe Geluykens
174d7890ed
fix: add language part in link to Jest tutorial
...
Link to Jest tutorial led to 404 since it didn't include the `/en/` language part.
2017-10-12 10:43:50 +02:00
Dan Abramov
0daa24f569
Backticks
2017-10-10 18:57:21 +01:00
Anna Do
b6e2f24421
Added recommendation to use shallow rendering or jest.mock()
2017-10-10 13:42:07 -04:00
Anna Do
592c3838b8
Noted that a similar pattern can be implemented directly
2017-10-09 19:17:57 -04:00
Anna Do
2255e1efed
Added a note that mockComponent is legacy and unnecessary
2017-10-09 19:11:04 -04:00
Brian Vaughn
93aa551f1a
Reorganized 'docs' folder
2017-10-04 14:48:45 -07:00