In this chapter, we will go back to the heart of the JavaScript language. Some of the patterns here can be reused across many different languages, such as Java, C++, and Python. It is vital to fill your toolbox with such powerful things. This time, we will implement well-known design patterns in JavaScript and see how we can benefit from them, especially within the React Native environment. As a little addition, we will learn a new library, called Ramda, which is known for its great functionalities that can help us to write much shorter and concise code. You will also get to know the fundamentals of functional programming, which will be the topic of the next chapter.
In this chapter, you will learn about the following:
- Selector patterns
- Currying patterns
- The Ramda library
- Basics of functional programming