colinskow / angular-electron-dream-starter

:tada: An Angular Electron Starter kit featuring Webpack, Angular 4 (Router, Http, Forms, Services, ngrx, Tests, E2E, Coverage), Karma, Spectron, Jasmine, Istanbul, and TypeScript
MIT License
162 stars 54 forks source link

NGRX Examples #20

Open Kaffiend opened 6 years ago

Kaffiend commented 6 years ago

[* ] question about the decisions made in the repository

Possibly we could include a simple example of the Effects module of ngrx as well?

colinskow commented 6 years ago

PR welcome. Really cool would be an effect that involves a native API such as setting the state with a native input dialog.

I created this package for that specific purpose: https://github.com/colinskow/rx-ipc-electron

Kaffiend commented 6 years ago

looks like a match made upstairs

Kaffiend commented 6 years ago

@colinskow i just used your example in the rx-ipc lib for the sake of simplicity. we could change the existing dialog to have options and compute that option into state via rx-ipc using the same example??

colinskow commented 6 years ago

@Kaffiend actually I just got a great idea and explained it below your pull request.