-
Notifications
You must be signed in to change notification settings - Fork 17
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
fix(mmkv): remove async storage pkg #153
Conversation
docs/recipes/MigratingToMMKV.md
Outdated
@@ -177,68 +178,68 @@ Now that you've moved the base storage functions over to MMKV, you might want to | |||
You may notice that the `storage.test.ts` test file will no longer pass. Replace the contents of this file with the following test data: | |||
|
|||
```tsx | |||
import { load, loadString, save, saveString, clear, remove } from "./storage" | |||
import { storage } from "./mmkv" // <- wherever your global `new MMKV()` constant is | |||
import { load, loadString, save, saveString, clear, remove } from "./storage"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the addition of semicolons intended? No opinion either way, just wanted to check since it wasn't mentioned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably an auto format thing, I'll double check with the consistency of the other snippets. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to leave it alone, seems as if the other recipes have it via the formatter.
Why
Never removed the old package that we replaced inside the recipe xD