Comments (7)
Unfortunately, I old PR broke a couple of things in Sandpack. These changes introduced some edge cases and I hope this was the last one π€
from react.dev.
@danilowoz reverted the fix as it seemed to have broken all the sandpack instances in the site. This issue seems to have replicated the same that I reported here #6659 (comment). (sorry for the revert) cc: @rickhanlonii
from react.dev.
That was unexpected! For now, I'd try to fix the previous bug applying the following change
https://github.com/reactjs/react.dev/pull/6663/files#diff-8dd8662806ac667355c6bff8e8274df548eea48029d2c960160b7adb424501a4
I was able to reproduce it on Sandpack, but no idea what's causing that
from react.dev.
Thank you @danilowoz
Just to note that the sandpack for https://react.dev/learn/describing-the-ui#writing-markup-with-jsx
Shows the error the first time but not after scroll. Every other sandpack works correctly.
from react.dev.
@harish-sethuraman, there is still an issue on react.dev/learn/describing-the-ui#writing-markup-with-jsx. Can you confirm if this was introduced now?
Thanks @bondz, for reporting that
from react.dev.
I think it was introduced with this change. With 2.6.0
locally, it continues to show the Error message after the user scrolls away and back.
from react.dev.
In main I can see that the sandpack that @bondz has shared isnt working as expected. Shows blank screen occasionally.
have to confirm if this is affecting other sandpacks as well. From what I have seen it doesnt affect any other.
checked with older commits and seems like the preview takes time to load even after entering viewport and flickers. It didnt show loader rather when a preview (error) was already there it force replaced the preview again only after entering the viewport. Have attached the video from older commit without your changes (dan's commit) (url: https://react-1ctcjdyrh-fbopensource.vercel.app/)
Screen.Recording.2024-02-28.at.11.22.02.AM.mov
from react.dev.
Related Issues (20)
- [Bug]: Can not access the react.dev website HOT 11
- Add language switcher to the design in react.dev
- [Suggestion]: Add example for retry with the `use` hook and an error boundary
- [Suggestion]: How to use local language search on a translation website
- [Suggestion]: Clarification on react.cache Usage in Server Requests
- [Typo]: Possible incorrect info HOT 1
- [Suggestion]: Add a new page for how to communicate between components. HOT 4
- [Suggestion]: "falsy" values not in the new documentation HOT 2
- [Bug]: sidepanel is blocking main content HOT 4
- [Suggestion]: Change the error message "Objects are not valid as a React child (found: object with keys {aaa, bbb}). If you meant to render a collection of children, use an array instead.
- [Mistake]: getVisibleTodos() does not re-run (and does not print any logs) when you type into the input to begin with! HOT 2
- δΈζζζ‘£ε·²η»uiεε½’δΊ HOT 1
- Class domain layer HOT 5
- Renren_kim86
- te.react.dev Maintainer's Issue HOT 3
- [Bug]: Search functionality not working correctly on react.dev in Safari on iOS real device (iPhone 12 Pro) HOT 4
- [Bug]: Search functionality not working correctly on react.dev in Safari on iOS real device (iPhone 12 Pro) HOT 3
- [Typo]: There is a syntax mistake on react docs GetStarted/Installation/Using Typescript HOT 2
- [Typo]: em dash spacing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.dev.