Having services in React application : <p>I'm coming from the angular world where I could extract logic to a service/factory and consume them in my controllers.</p>

<p>I'm trying to understand how can I achieve the same in a React application.</p>

<p>Let's say that I have a component that validates user's password input (it's strength). It's logic is pretty complex hence I don't want to write it in the component it self.</p>

<p>Where should I write this logic? In a store if I'm using flux? Or is there a better option?</p>
