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

next release #7

Merged
merged 1 commit into from Mar 13, 2024
Merged

next release #7

merged 1 commit into from Mar 13, 2024

Conversation

smeijer
Copy link
Owner

@smeijer smeijer commented Mar 13, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

spin-delay@2.0.0

Major Changes

  • #8 1b81585 Thanks @smeijer! - We now support spinner initialization from the server (SSR). When the loading prop is true due to server-side rendering, the spinner will be shown immediately. You can opt-out of this behavior by setting the ssr option to false.

    import { useSpinDelay } from 'spin-delay';
    
    const spin = useSpinDelay(loading, {
      ssr: false, // defaults to true
    });
  • #6 3d4f4d5 Thanks @smeijer! - We've to removed the default export. Please update your code to use the named
    export instead. This is a breaking change, but it's a minor one. Chances are
    that you're already using the named export, and you don't have to do anything.

    - import useSpinDelay from 'spin-delay';
    + import { useSpinDelay } from 'spin-delay';

@smeijer smeijer merged commit e895caf into main Mar 13, 2024
@smeijer smeijer deleted the changeset-release/main branch March 13, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant