Skip to content

Question: Why is it not possible to use Context from hono in getLoadContext ? #23

@ogadra

Description

@ogadra

I reviewed the createGetLoadContextArgs function in src/remix.ts.
It creates the argument for getLoadContext using hono's context.
I believe it would be more practical if the argument of the getLoadContext function were directly hono's context. That way, we could leverage Hono's middleware in Remix.
However, this is not how it works in practice. I assume there must be a reason for this. Could you explain why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions