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

NoteDetailsPage Not Being Invoked #3

Open
pschaeffer opened this issue Jan 27, 2024 · 1 comment
Open

NoteDetailsPage Not Being Invoked #3

pschaeffer opened this issue Jan 27, 2024 · 1 comment

Comments

@pschaeffer
Copy link

For some reason my NoteDetailsPage() function is not being called. I put this function in notes.$noteid.tsx and the loader works exactly as expected. What am I doing wrong? I can provide all of the source code if need be. Is this a Remix V1 vs. V2 problem? Did I accidentally create a resource route? How do I debug this problem? I am at 1:55:14 of https://www.youtube.com/watch?v=RBYJTop1e-g&t=3843s. Thank you.

@pschaeffer
Copy link
Author

pschaeffer commented Feb 18, 2024

I looked into this a bit more. The problem was 'solved' by adding Outlet to NotesPage() in notes.tsx. It is quite unclear if this is a V1 vs. V2 bug or if I have made a mistake somewhere else. Note that Outlet should be preceded by a less than sign and followed by a blank, a forward slash, and a greater than sign.

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