`
- })
+})
export class AppComponent {
store = store;
comparer = comparer;
@@ -239,7 +238,7 @@ Check out `projects/todo` for an example of how to use `mobx-remotedev` with Ang
$ npm install mobx-remotedev
-```
+```ts
// app.module.ts
import remotedev from 'mobx-remotedev';
import { Todos } from './stores/todos.store';
@@ -261,7 +260,7 @@ See the `projects` folder, specifically these files:
To run the examples, clone this repo and run:
-```
+```shell
$ npm install -g @angular/cli
$ npm install
$ npm run build
@@ -276,4 +275,3 @@ Important things to always consider when changing code in this library:
- Keep backwards compatibility. Don't force users to refactor their code, even if it means adding a new API instead of changing an exsiting one.
- Keep SEMVER. If breaking changes is unavoidable - increase a major version. New features, however small should increase a minor version, and patch is for bugfixes/performance/refactoring
- Think about bundle size and speed
-