All Projects → mbalex99 → realm-electron

mbalex99 / realm-electron

Licence: other
Electron-Compile Boilerplate

Programming Languages

typescript
32286 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to realm-electron

react-native-base-project
Base react native application for scalable project using Redux + React Navigation + Code Push + Realm + Axios + i18n + Google Analytics + Facebook login with fbsdk...
Stars: ✭ 31 (+93.75%)
Mutual labels:  realm-js

Electron-Compile + RealmJS

  1. Clone this repo
  2. run npm install. It will probably rebuild realm-js which could take a while. Luckily this is only done once.
  3. Start the project by npm run start

This uses electron-compile to minimize the amount of

Important TypeScript Usage

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.

Caveats

This works on Mac, Linux, and Windows but Realm Mobile Platform's syncing capabilities only work on Mac at the moment.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].