Skip to content

Docs/Feat: Add instructions on implementation with different backend #51

@OTheNonE

Description

@OTheNonE

I am using a FastAPI backend and a sveltekit SPA frontend. Would it be possible to add instructions on how to trigger the flash message with a different backend than sveltekit? I have looked at the source code, and it seems like you only have to set a cookie with name ‘flash’, make it ‘httpOnly: false’, and set the value of the cookie to a specific stringified object format. In this same context, the library could maybe also have a “client only” version. I would see great value in doing this for the library.

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