You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vanilla Extract currently has this little known feature that allows for serializing calls to a function imported elsewhere (addFunctionSerializer)
I think it would be neat if we could allow serializing arbitrary functions as well. Personally I would use this to make super-optimized functions for recipes
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Vanilla Extract currently has this little known feature that allows for serializing calls to a function imported elsewhere (
addFunctionSerializer
)I think it would be neat if we could allow serializing arbitrary functions as well. Personally I would use this to make super-optimized functions for recipes
Take the following recipe code
This could easily be turned into something like
Beta Was this translation helpful? Give feedback.
All reactions