Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React rendering sometimes shows index page #38

Open
jaked opened this issue Jun 6, 2024 · 2 comments
Open

React rendering sometimes shows index page #38

jaked opened this issue Jun 6, 2024 · 2 comments

Comments

@jaked
Copy link
Collaborator

jaked commented Jun 6, 2024

e.g. if you render a component then move the cell elsewhere in the notebook

@jaked
Copy link
Collaborator Author

jaked commented Jun 26, 2024

also if you restart the kernel

@jaked
Copy link
Collaborator Author

jaked commented Jul 25, 2024

showing the index page was somehow fixed along the way, the request to Vite now 404s. (When you move a cell it gets a new cell ID, but the output isn't updated, so it refers to the old ID.)

It still looks strange; the output is blank, but the container doesn't return to its original size (this is because the resize observer and its handler aren't loaded).

Maybe it's possible to keep the old cell ID on a move. And maybe we could render a dummy output instead of 404ing when the cell doesn't exist, so we could fix the container size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant