- Which of the following best describes Flux?
- Flux is an architectural pattern used to augment the properties of DOM elements, making it easier to get API data into your HTML.
- Flux is an architectural pattern used to control the unidirectional flow of data in your app, making changes more predictable.
- Flux is a library that handles all of your application state for you.
- What's the difference between Flux and Redux?
- There is no difference, they both represent the same architectural pattern.
- Flux is the official way to handle state in React components whereas Redux is something to avoid.
- Redux is an opinionated implementation of Flux concepts that you can use to help manage data flow in your application.
- How do you get data from a Redux store into your components?
- You use the connect() higher-order function to connection your component to the store, using a function that translates store data into component properties.
- You extend Redux.Component to automatically have state from the Redux store set on your component.
- You can access state at any time from the global store object.
- What's the difference between Redux in a web app and a native mobile app?
- There's a specific redux-react-native package that you should use.
- There is no difference.