docs: add expo setup instructions to installation guide#1853
docs: add expo setup instructions to installation guide#1853Undertone0809 wants to merge 1 commit intoNozbe:masterfrom
Conversation
| api.cache(true); | ||
|
|
||
| return { | ||
| presets: [['babel-preset-expo', { jsxImportSource: 'nativewind' }], 'nativewind/babel'], |
There was a problem hiding this comment.
I don't think nativewind is related/required for watermelon install? Can you check this?
There was a problem hiding this comment.
Sorryyyy for that. Now I use default expo config.
1b44b22 to
bb1f910
Compare
|
This expo plugin already exist: https://github.com/morrowdigital/watermelondb-expo-plugin |
|
The expo plugin library doesn't support it anymore. It has not been updated in a long time. |
| api.cache(true); | ||
|
|
||
| return { | ||
| presets: [['babel-preset-expo'], 'nativewind/babel'], |
There was a problem hiding this comment.
Either the PR is incomplete or it doesn't work because just having babel plugins won't make WatermelonDB work on Expo as there's no SQLite available unless you use Expo SQLite plugin.
The preferable approach should be a new adopted SQLiteExpo under the adapters that operates on SQLite via Expo and rest of the machinery should work out of the box. For the web, could use sql.js
No description provided.