useLoaderData parsing error
lu-zen opened this issue ยท 6 comments
Idk exactly whats going on, but useLoaderData can't parse my root loader json data after the first loading. It's serializable and works great with the official express runtime.
Returned loader data is identical btw, weird error.
Started to happen when I upgraded remix deps to 1.7.6
@mcansh I believe the problem is that headers are not being sent, check this discord entry where Jacob diagnosed the issue: https://discord.com/channels/770287896669978684/1047907012815618159
strange, apply headers here https://github.com/mcansh/remix-fastify/blob/main/packages/remix-fastify/src/server.ts#L108-L114 and if i log them i see them, but the browser isn't getting them, at least not all of them - perhaps because of reply.raw
, oddly enough my json responses never broke ๐
A new error, outlet children is not being rendered.