* 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>
* 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>
* added sandpack linter and installed latest sandpacl
* integrate eslint into Sandpack
* Format the linting errors, disable preview on lint error, have only two react hooks
* fixes build
* split eslint-integration
* fix tooltip text color, error rename to 'Lint Error', show single lint error
* NIT
* Just enable it
* Delete eslint.md
Co-authored-by: Strek <ssharishkumar@gmail.com>
Co-authored-by: dan <dan.abramov@gmail.com>
* Add diagrams for passing props with context
* Update beta/src/pages/learn/passing-data-deeply-with-context.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update beta/src/pages/learn/passing-data-deeply-with-context.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update beta/src/pages/learn/passing-data-deeply-with-context.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Fixes for mobile
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* 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>