Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine extensions #398

Open
xereda opened this issue Jul 12, 2023 · 3 comments
Open

Combine extensions #398

xereda opened this issue Jul 12, 2023 · 3 comments
Labels
documentation An issue requires changes in the documentation only question Further information is requested

Comments

@xereda
Copy link

xereda commented Jul 12, 2023

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.

@avkonst
Copy link
Owner

avkonst commented Jul 12, 2023

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

@avkonst avkonst added question Further information is requested documentation An issue requires changes in the documentation only labels Jul 12, 2023
@avkonst
Copy link
Owner

avkonst commented Jul 12, 2023

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

@xereda
Copy link
Author

xereda commented Jul 13, 2023

@avkonst That's it! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation An issue requires changes in the documentation only question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants