Flux Concept and use of Flux in React JS with example