Skip to content

Commit

Permalink
Use mobx-sync-lite instead of mobx-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill committed Nov 4, 2021
1 parent f8254b4 commit 7eba88e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion App.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import * as Font from 'expo-font';
import * as ScreenOrientation from 'expo-screen-orientation';
import { StatusBar } from 'expo-status-bar';
import { observer } from 'mobx-react-lite';
import { AsyncTrunk } from 'mobx-sync';
import { AsyncTrunk } from 'mobx-sync-lite';
import PropTypes from 'prop-types';
import React, { useContext, useEffect, useState } from 'react';
import { AppearanceProvider, useColorScheme } from 'react-native-appearance';
Expand Down
2 changes: 1 addition & 1 deletion models/ServerModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import { action, autorun, computed, decorate, observable } from 'mobx';
import { ignore } from 'mobx-sync';
import { ignore } from 'mobx-sync-lite';
import { task } from 'mobx-task';

import { fetchServerInfo, getServerUrl } from '../utils/ServerValidator';
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"i18next": "^21.2.4",
"mobx": "^5.15.4",
"mobx-react-lite": "^2.2.2",
"mobx-sync": "^3.0.0",
"mobx-sync-lite": "^3.1.0",
"mobx-task": "^2.0.1",
"normalize-url": "^7.0.2",
"prop-types": "^15.7.2",
Expand Down
2 changes: 1 addition & 1 deletion stores/MediaStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import { action, computed, decorate, observable } from 'mobx';
import { ignore } from 'mobx-sync';
import { ignore } from 'mobx-sync-lite';

import { ticksToMs } from '../utils/Time';

Expand Down
2 changes: 1 addition & 1 deletion stores/RootStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import 'react-native-get-random-values';

import { action, decorate, observable } from 'mobx';
import { ignore } from 'mobx-sync';
import { ignore } from 'mobx-sync-lite';
import { v4 as uuidv4 } from 'uuid';

import MediaStore from './MediaStore';
Expand Down
2 changes: 1 addition & 1 deletion stores/ServerStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import { action, decorate, observable } from 'mobx';
import { format } from 'mobx-sync';
import { format } from 'mobx-sync-lite';
import { task } from 'mobx-task';

import ServerModel from '../models/ServerModel';
Expand Down

0 comments on commit 7eba88e

Please sign in to comment.