mardi 30 janvier 2018

Where should I put service components while using Redux?

In my app I got service classes like SpeechRecognizer, VoiceRecorder ... I wonder should I put them into the state of application, my personal opinion that they don't form the state, so then where to put them.
Also to notice, SpeechRecognizer is initialized with callbacks that are called when certain event occurs, so who shall subscribe to them and how to implement that subscription ?

Aucun commentaire:

Enregistrer un commentaire