Skip to content

Commit

Permalink
chore: mention breaking change in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Mar 10, 2023
1 parent 311d3de commit 3b26f28
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ This library aims to provide a fast & reliable solution for you data storage nee

> Learn how to build your own module with JSI on my [blog](https://blog.notesnook.com/getting-started-react-native-jsi/)
## 0.9.0 Breaking change

Works only with react native 0.71.0 and above. If you are on older version of react native, keep using 0.8.x.

## Features

### **Written in C++ using JSI**
Expand Down Expand Up @@ -126,10 +130,7 @@ MMKV supports concurrent read-read and read-write access between processes. This
You can create many database instances. This helps greatly if you have separate logics/modules in the same app that use data differently, It also helps in better performance since each database instance is small instead of a single bulky database which makes things slower as it grows.

```js
const userStorage = new MMKVLoader()
.withEncryption()
.withInstanceID('userdata')
.initialize();
const userStorage = new MMKVLoader().withEncryption().withInstanceID('userdata').initialize();

const settingsStorage = new MMKVLoader().withInstanceID('settings').initialize();
```
Expand Down

1 comment on commit 3b26f28

@vercel
Copy link

@vercel vercel bot commented on 3b26f28 Mar 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rnmmkv – ./

rnmmkv.vercel.app
rnmmkv-git-master-ammarahm-ed.vercel.app
rnmmkv-ammarahm-ed.vercel.app

Please sign in to comment.