Omnistac / zedux

:zap: A Molecular State Engine for React
https://Omnistac.github.io/zedux/
MIT License
347 stars 7 forks source link

fix(react): remove dehydrated state generic from ssr atom config options for now #16

Closed bowheart closed 1 year ago

bowheart commented 1 year ago

Description

The dehydrate and hydrate atom config functions need to use a generic at the atom() factory level to really work. Maybe we'll get to this eventually, but for now just remove the not-good-enough D generics and use any and unknown types.