Rich-Harris/devalue

Support for async revivers

Closed this issue · 0 comments

I would like to dynamically import javascript files in the revivers - so that I can create a more generic reviver and don't have to import all custom types at once. However, currently, the hydrate() function doesn't support it.
Would it be possible to add support for this without breaking backwards compatibility?