You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Have you experienced this bug with the latest version of the template?
Yes
Steps to Reproduce
Setup the project
Create account and sign in
Update loader in notes.tsx to return defer instead of json
Expected Behavior
I would expect that just changing to deferwhile still resolving the promise in the loader would still work without any other changes, since the data is being awaited in the loader.
Actual Behavior
The page errors with TypeError: Cannot read properties of undefined (reading 'length')
When looking at the value of data from const data = useLoaderData<typeof loader>();, it looks like this: