avkonst/hookstate

Combine extensions

xereda opened this issue · 3 comments

xereda commented

How to combine two extensions such as "devtools" and localstored"?

How can I configure this in the same state? In the documentation it is not clear.

Thanks in advance for any feedback.

useHookstate(...., extend(extension1, extension,2, ....))

or hookstate(..., extend(extension1, extension2, ...))

xereda commented

@avkonst That's it! Thanks.