* Blog Draft: React 18 RC Upgrade Guide
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Minor updates
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update Strict Effect section
* Fill in testing section
Some info about how to configure global.IS_REACT_ACT_ENVIRONMENT
* Minor updates
* Update react-dom imports
Use named imports
* Add link to react-testing-library
* Remove Suspense specifics
* Update to react-dom/client
* Updates to SSR
* Minor updates
* Fix typo
* Minor updates to wording
* Minor updates to wording
* Tweak call to action
I edited the intro section a bit to soften the call to action.
I also removed the reference to the "second RC" since we may
publish another one and the fact that it's the second one
isn't that important.
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Andrew Clark <git@andrewclark.io>
* Adding Social Banner with Support for Ukraine
* Changing spacing the social banner
* Fixing lint errors
* Remove external link icon from social banner
* Add banner for beta site
* Add todo
* Fix centering on mobile in old site
Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com>
* Initial Commit
* play with it
* oops
* easier repro
* import type
* remove `suspense: true`
* Add patch for next
* Patch package
* Add fallback
* Enable flag
* Fixes local dev env and adds better fallback for codeblock
* Adds fallback for sandpack (should work fine)
* turn off concurrentFeatures
* Revert "turn off concurrentFeatures"
This reverts commit 50158ecbd33969e707a2a91a54e822e90c2ebfde.
* Update SandpackWrapper.tsx
* Removed flags and setTimeouts
* add timeouts and promise again
* Adds bottom bezel and scroll to sandpack fallback
* tinker bottombezel and remove console
* Update CodeBlock.tsx
* Update SandpackWrapper.tsx
* removing overflows to avoid explicit scrolls
* upgrade nextjs to canary
* Rm patch
* Fix TS
* Bump Next
* No more CSS jumping
* Reverts the canary to use the latest Next.js `12.0.10`
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@me.com>
* position error icon correctly
Add padding right to line with the error to accommodate space for the error icon.
Added in a new selector because it was getting overridden by more specific selectors.
Fixes#4287
* use important instead of selectors
* fix overlapping for smaller screens
* replace width with min-width
* align error icon to center vertically
Use em instead of pixels for padding, increase line height of error icon
* [beta] Reword "action = what happened" advice for useReducer
One learner misinterpreted the original text here as meaning instead that it's important that actions are written in past tense – this updated wording is clearer about what this is meant to convey (I think).
* typo