General Concepts
Learn about the general concepts required in the course.
We'll cover the following
Redux is all about functional programming and pure functions. Understanding these concepts is crucial to understanding the underlying principles of Redux.
Functional programming centers around avoiding changing state and mutable data—in other words, making your code predictable and free of side effects.
JavaScript allows you to write code in a functional style, as it treats functions as
Pure and impure functions
A pure function returns values by using only its arguments: it uses no additional data, changes no data structures, touches no storage, and emits no external events (like network calls). This means that you can be completely sure that you will always get the same result every time you call the function with the same arguments. Here is an example of pure functions:
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy