Refactors prensence package to SM implementation#437
Conversation
|
| ```typescript | ||
| const App = () => { | ||
| const [show, setShow] = createSignal(true); | ||
| const state = createPresence(show, { duration: 300, initialRun: true }); |
There was a problem hiding this comment.
Since we need it in any case, wouldn't it be better to provide state.mounted(), which you can use as <Show when={state.mounted()}>?
|
Conducting general maintenance in preparation of Solid Primitives 2.0 release. The work here is valuable but may change with the resent push to Solid2 migration. Please resubmit a PR with the changes based on the |
No description provided.