unjs / h3

⚡️ Minimal H(TTP) framework built for high performance and portability

Home Page:https://h3.unjs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support session config

pi0 opened this issue · comments

H3 supports session using useSession(event, config) however it's usage is not intuitive because each time we need to manually handle the config passing.

I am thinking to support useSession(event, name = "default") overload that tries to read session config from h3 app configuration. (pending for: #694)