# Angular architecture hint

Hey guys,

I have this desktop application (in electron) that really depends of it's main form, and I need to emit events all the time so the application can rebuild depending on this values. It's begging to get messy and thing the best alternative would be to change my architecture.

I was thinking of building the form in some service (Reactive form), like this, any component that needs to know the state of the form would only need to subscribe to it's valueChanges observable.

I've like to know some other solutions for this, thanks!

submitted by /u/Giuan0