What is the feature you are proposing?
I don't have a strong opinion on this and I'm fine with the way Hono currently works.
However, I'm wondering if something for making flash messages easier would make sense to be in the core? For example, to show a message after a successful POST request and a redirect.
Here are three options that I see:
- Create a
setFlash and getFlash
- Make
deleteCookie return the deleted value
- No changes and keep Hono core small
What do you think?
What is the feature you are proposing?
I don't have a strong opinion on this and I'm fine with the way Hono currently works.
However, I'm wondering if something for making flash messages easier would make sense to be in the core? For example, to show a message after a successful POST request and a redirect.
Here are three options that I see:
setFlashandgetFlashdeleteCookiereturn the deleted valueWhat do you think?