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

documentation for @solid-primitives/presence is missing an implementation for stores #555

Open
Dakotys opened this issue Dec 26, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@Dakotys
Copy link

Dakotys commented Dec 26, 2023

Describe The Problem To Be Solved

documentation for @solid-primitives/presence is missing an implementation for stores, to showcase it is possible. I just suggest adding a example that uses store. Since it only needs to wrap the store value in function.
const { isVisible, isMounted } = createPresence((store.appState.addPanelOpen, { transitionDuration: 500, });
to:
const { isVisible, isMounted } = createPresence(() => store.appState.addPanelOpen, { transitionDuration: 500, });

Suggest A Solution

described above

@thetarnav thetarnav added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants