We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b90429f commit c7879afCopy full SHA for c7879af
src/components/lib-utilize/MobXEg.js
@@ -8,6 +8,17 @@ import { DIV } from 'Styled-Comps/ThemedComponents';
8
/* Directly import and call Doubler store like this */
9
// const DBLR = new Doubler();
10
11
+/* In case Strict mode is enabled, observable value would have to been changed by explicitly calling the action, eg ->
12
+
13
+isAdmin : observable
14
15
+loginUserService({ email, password }).then(
16
+ action((response) => { // import { action } from 'mobx'
17
+ this.loggedIn = true;
18
+ })
19
+);
20
+*/
21
22
const MobXEg = () => {
23
/* How to call a computed mobX fn, calling this fn as such didnt update the state */
24
// console.log(' rteur dbl value ',DBLR.double);
0 commit comments