You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an electron app using this boilerplate https://github.com/iRath96/electron-react-typescript-boilerplate, which already has redux configured in it. I am leaving it in just for connected-react-router. All my other state is using MobX. I am not using MST, currently.
This is my code:
import { observable } from 'mobx';
import remotedev from '@hlhr202/mobx-remotedev';
import { wallets, WalletKey } from './wallets';
import BaseWallet from './wallets/coins/BaseWallet';
const _applicationState = observable({
walletsLoaded: false,
currentWalletKey: Object.keys(wallets)[0] as WalletKey,
get currentWallet(): BaseWallet {
return wallets[this.currentWalletKey];
},
});
const applicationState: typeof _applicationState = remotedev(_applicationState, {
name: 'applicationState',
remote: false,
global: true,
});
export default applicationState;
When I open the redux devtools in electron, the only instance I see is the main window one which contains the redux state. Not seeing any other instances.
The text was updated successfully, but these errors were encountered:
I have an electron app using this boilerplate https://github.com/iRath96/electron-react-typescript-boilerplate, which already has redux configured in it. I am leaving it in just for connected-react-router. All my other state is using MobX. I am not using MST, currently.
This is my code:
When I open the redux devtools in electron, the only instance I see is the main window one which contains the redux state. Not seeing any other instances.
The text was updated successfully, but these errors were encountered: