As per the description.
I really like Jotai, probably my favourite state manager. And I think atomWithStorage is brilliant. However it does not play well with SSG pages.
Would something like atomWithCookie ever be considered? On a NextJS SSR website that I am building, I would like to persist unAuthenticated users' darkMode config settings in their cookies (not localStorage), so that when they visit my site, NextJS knows what version of the site to serve them (light or dark).
In the meantime I think I will just write an updater that syncs the atom value manually in cookies, not a difficult task.
Thanks and congrats on a great library. ☘️