Commit Graph

5546 Commits

Author SHA1 Message Date
dan
d8171faaca [Beta] Discourage derived state more (#4781)
* [Beta] Discourage derived state more

* reword
2022-06-28 19:46:48 +01:00
dan
dec71401e3 Hooks FAQ: Change usePrevious recommendation (#4780)
* Hook FAQ: Change usePrevious recommendation

* typo
2022-06-28 18:35:53 +01:00
Akul Srivastava
807fff2850 fix: correct beta docs link in readme (#4779) 2022-06-28 22:16:36 +05:30
Danilo Woznica
eca969cd1f fix(sandpack): message listeners (#4778) 2022-06-27 17:36:57 +01:00
Fakhruddin Ali Hussain
26caa64982 Fixes hydrateRoot link (#4775)
Fixes #4770
2022-06-27 09:09:00 +05:30
Balázs Orbán
c1c3d1db30 fix typos (#4767)
* fix typo

* Update you-might-not-need-an-effect.md

* Update you-might-not-need-an-effect.md
2022-06-23 01:13:52 +01:00
Dan Abramov
8fb5a45d60 typo fix 2022-06-22 23:31:59 +01:00
dan
5187ed6bbd [Beta] You Might Not Need an Effect (#4766) 2022-06-22 23:15:15 +01:00
Akul Srivastava
f71c82fcd4 fix(docs): remove redundancy (#4764) 2022-06-22 17:49:04 +05:30
Joshua Marantz
d8cd1ce416 fix broken link to react router docs (#4763)
Docs for React Router 6.4+ have moved from the "remixing" to "dev" branch.
2022-06-21 11:34:27 +05:30
Romain Bohdanowicz
fb65da64ac docs: class properties and object spread are no longer experimental (#4754)
Co-authored-by: Romain Bohdanowicz <romain.bohdanowicz@formation.tech>
2022-06-20 20:38:39 +02:00
Hung Viet Nguyen
c3e09c52c9 Fix a typo in #4726 (#4762) 2022-06-20 13:03:02 +05:30
Peter Hauke
df2673d1b6 Fix minor grammar error (#4756) 2022-06-18 11:57:59 +02:00
Aroyan
6418ebc220 fix: update broken link for Colorable (#4753)
Update broken link for Colorable in Color contrast section
2022-06-17 14:28:05 +01:00
moe
75bda80a63 fix sandbox tab button styles when selected (#4751) 2022-06-17 14:03:58 +01:00
Dongho
d2da1a55d2 Remove useless comma (#4711)
Found an additional comma typo when I implemented this example with typescript.
2022-06-16 19:33:36 +05:30
Swarnava Sengupta
763d57bb4e Add 18.2.0 info in website (#4747)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2022-06-15 20:51:20 +02:00
Lauren Tan
a7b65d6b8c Add initial React Labs June 2022 blog post (#4745)
* Add initial React Labs June 2022 blog post

* Update Robert's url to twitter

* Add link to React Server Module Conventions RFC

* Update 2022-06-15-react-labs-what-we-have-been-working-on-june-2022.md

* Fix url

* Update content/blog/2022-06-15-react-labs-what-we-have-been-working-on-june-2022.md

Co-authored-by: Andrew Clark <git@andrewclark.io>

* Fix Sophie's url

* Fix bulleted list for Offscreen section

Co-authored-by: Luna Ruan <lunaris.ruan@gmail.com>
Co-authored-by: Andrew Clark <git@andrewclark.io>
2022-06-15 11:07:40 -07:00
Dan Lebo
388905f9a0 Refresh sandbox iconography (#4746)
* Refresh sandbox iconography

* Remove extra margins
2022-06-14 23:26:54 +01:00
dan
c4817ff73c [Beta] Update the bundler (#4744)
Should fix stale console logs when resetting a sandbox.
2022-06-14 12:04:05 +01:00
Dan Abramov
1ef18feef3 Clear should not collapse 2022-06-14 12:02:01 +01:00
Adrian Kast
7a7661a345 Fix React Alicante 2022 website link (#4743)
changing the link from http to https since the http version seems not to get forwarded (404)
2022-06-14 11:26:39 +01:00
Dan Abramov
007fe55200 Expand console by default 2022-06-14 11:14:04 +01:00
Dan Abramov
ac0985f8ad typo 2022-06-14 05:04:18 +01:00
Dan Abramov
4b0e370851 [Beta] Shorten the last section on effects 2022-06-14 04:46:42 +01:00
Dan Abramov
b113f83071 Add missing part to the example 2022-06-14 02:26:35 +01:00
Dan Abramov
3c2611e805 typo 2022-06-14 02:23:58 +01:00
Dan Abramov
ad4b83234a [Beta] Capitalize effects 2022-06-14 02:16:39 +01:00
dan
e817499383 [Beta] Synchronizing with Effects (#4742)
* [WIP] Effects

* More

* More

* Typo

* More

* tweaks

* typo

* note

* Add playsinline

* Fix

* Typo

* Oops

* More content

* Compress a bit

* edits

* oops

* Tweaks

* tweak

* Inline the deep dive

* fix

* typos

* add deep dive

* oops

* Clarify

* Add third case

* oops

* edit

* [beta][effects] Reword effects-in-render counterexample (#4722)

* reframe

* oops

* ok

* edits

* fix

* remove special styling

* tweak

* oops

* tweak

* challenges

* tweaks

Co-authored-by: Sophie Alpert <git@sophiebits.com>
2022-06-14 01:16:16 +01:00
Strek
6d965422a4 [Beta] Add console to sandboxes (#4672)
* added code for sandpack console

* add log

* added console for older bundle

* Revert "[beta] Sandpack - new bundler (#4458)"

This reverts commit 3ab1245314.

* adds proper console and removes new bundle

* modify styles

* remove unwanted code

* nit

* fix types (#4677)

* update console

* little nits

* remove unwanted code changes

* update bundler URL

* use `message.firstLoad` for clearing console

* use `refresh` event to clear logs as well (used when going away and coming back to sandpack)

* remove padding for code blocks inside console

* small UI revamps

* change p to div since the sandpack comes inside the p, add try catch and a try catch for the catch again

* tweaks

* Fixes

* Reset unrelated changes

* tweaks

* fix

* fixes

* oops

* Fix

* fix

Co-authored-by: Danilo Woznica <danilowoz@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-06-10 20:35:05 +01:00
Danilo Woznica
e4d807d0e4 [Beta] fix(navigation): ui tweak (#4709)
* fix(navigation): ui tweak

* revert border color
2022-06-10 19:27:10 +01:00
Jake Boone
6240fed568 docs: fix incomplete sentences in useref.md (#4731) 2022-06-10 16:17:33 +01:00
enoughtal
11a5ea0a73 typo (#4725) 2022-06-10 20:46:33 +05:30
Kim Brandwijk
4bfd89654f docs: fix optional argument representation (#4732) 2022-06-10 12:10:28 +05:30
dan
678caa54ca Remove unused header 2022-06-09 18:25:52 +01:00
ycjcl868
022c8ff29d [Beta] Add some types (#4728)
* [Beta] Optimize some performance

* Unnecessary image optimization

* Unused optimizeFonts
2022-06-08 15:10:24 +01:00
Kent C. Dodds
0831df4796 add remix conf (#4726)
* add remix conf

* add remix conf 2023
2022-06-07 23:36:18 +01:00
Jamie Kyle
486087f1b3 Remove social links from prev React Europe events (#4724)
These are now pointing at a different event, I've left/updated the video links though for posterity
2022-06-06 17:31:28 +01:00
Fuqiao Xue
537b286f61 Update the URL of Yarn's installation instructions (#4723) 2022-06-06 11:24:47 +02:00
dan
9a5bf3e1f1 Fix typo 2022-06-03 15:27:06 +01:00
Jasper De Moor
1302ad75e0 Update SandpackRoot.tsx (#4717) 2022-06-01 20:00:24 +01:00
dan
0306da6fb3 Revert "Update SandpackRoot.tsx (#4715)" (#4716)
This reverts commit 2d46af6d03.
2022-06-01 17:20:28 +01:00
Danilo Woznica
2d46af6d03 Update SandpackRoot.tsx (#4715) 2022-06-01 16:35:22 +01:00
anwarali7
6eff1187d9 Update start-a-new-react-project.md (#4712)
Fixed TypeScript hyperlink to the correct website.
2022-05-31 00:28:53 +05:30
Lee Robinson
d522a5f4a9 Add Turborepo to custom toolchains for monorepos. (#4705) 2022-05-28 17:08:22 +05:30
Thomas Broadley
81d4f68092 docs: fix typos (#4706) 2022-05-28 17:05:44 +05:30
7527e
37ffccc29e Fixed language error (#4701)
"them" word was missing
2022-05-27 15:08:13 +01:00
Danilo Woznica
2d374f8405 [beta] fix(eslint): messages severity (#4702)
* fix(eslint): messages severity

* .
2022-05-27 15:07:26 +01:00
Yousef M. El-Gohary
9721c9d11d Add loading indicator to sidebar links (#4693)
* add loading indicator to sidebar links

* fix clicking on same route whould show indicator

* maybe final?

* handle routeChangeError as well as cleaning up timeout

* clearing timeout before creating one instead of routeChangeError

* rm unused

* add license header

* Update usePendingRoute.ts

Co-authored-by: dan <dan.abramov@gmail.com>
2022-05-27 14:18:32 +01:00
dan
ee754727e2 [Beta] Fix editor re-renders on lint error (#4699) 2022-05-26 18:37:10 +01:00