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

Newly created Circular does not immediately appear in index after form submission #1699

Closed
lpsinger opened this issue Nov 22, 2023 · 2 comments · Fixed by #1705
Closed

Newly created Circular does not immediately appear in index after form submission #1699

lpsinger opened this issue Nov 22, 2023 · 2 comments · Fixed by #1705
Assignees
Labels
bug Something isn't working

Comments

@lpsinger
Copy link
Member

The Circular is submitted, but you have to refresh the page to see it.

This is because the useActionData() call in the index route is not returning the result from the action function from the layout route that was executed.

This probably broke either due to recent route module refactoring or a Remix version update.

@lpsinger lpsinger added the bug Something isn't working label Nov 22, 2023
@lpsinger lpsinger self-assigned this Nov 22, 2023
@lpsinger
Copy link
Member Author

git bisect shows that this was broken by #1664.

@lpsinger
Copy link
Member Author

Aha! This must have been broken by remix-run/react-router#11023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant