Flux is developed by Facebook as an application architecture for UI implementation. React is a JavaScript library which is used to build user interfaces. So Facebook use Flux architecture when they implementing user interfaces with React.
Applications which are implemented in React using flux architecture have four major parts. These are independent nodes with distinct inputs and outputs.
- Actions
- Dispatcher
- Stores
- Controller Views