svecosystem / runed

Magical utilities for your Svelte applications (WIP)
https://runed.dev
MIT License
387 stars 21 forks source link

feat: allow media query to be initialized in a module #68

Closed paoloricciuti closed 1 month ago

paoloricciuti commented 2 months ago

This move the effect creation in the getter guarded by $effect.active so that if the user initialize this in a module will still work and it register the listeners only when is used in a component.

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: b1a2c5e96b9c8a19e4327f58b5390cf8aed7260c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----- | ----- | | runed | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 2 months ago
built with Refined Cloudflare Pages Action

âš¡ Cloudflare Pages Deployment

Name Status Preview Last Commit
runed ✅ Ready (View Log) Visit Preview b1a2c5e96b9c8a19e4327f58b5390cf8aed7260c