Skip to content

Conversation

@pionxzh
Copy link
Collaborator

@pionxzh pionxzh commented Mar 7, 2023

closes #144

This PR migrates the usage of zustand v4 to remove the deprecation message

[DEPRECATED] zustand/context will be removed in the future version. Please use `import { createStore, useStore } from "zustand"` for context usage. See: https://github.com/pmndrs/zustand/discussions/1180
[DEPRECATED] default export is deprecated, instead import { create } from'zustand'

@netlify
Copy link

netlify bot commented Mar 7, 2023

Deploy Preview for any-viewer ready!

Name Link
🔨 Latest commit 64730f9
🔍 Latest deploy log https://app.netlify.com/sites/any-viewer/deploys/64078526771c8c0008e4b07d
😎 Deploy Preview https://deploy-preview-250--any-viewer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pionxzh pionxzh changed the title fix: migrate zustand to remove the deprecation message fix: migrate zustand to remove the deprecation message Mar 7, 2023
@pionxzh pionxzh merged commit ed6c699 into TexteaInc:main Mar 7, 2023
@pionxzh pionxzh deleted the zustand branch March 7, 2023 18:43
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.

Remove deprecated code of zustand

1 participant