- Clone this repo
- run
npm install
. It will probably rebuildrealm-js
which could take a while. Luckily this is only done once. - Start the project by
npm run start
This uses electron-compile to minimize the amount of
This project comes with support for TypeScript but electron-compile has a bug that does not allow for default exports
at the moment.
So this is fine:
export class App extends React.Component<{}, {}> {
}
This is not fine and will cause a runtime error:
export default class App extends React.Component<{}, {}> {
}
I have noted this as an issue and created a pull request with electron-compilers which is a dependency.
This works on Mac, Linux, and Windows but Realm Mobile Platform's syncing capabilities only work on Mac at the moment.