Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • React Cookbook
  • Toc
  • feedback
React Cookbook

React Cookbook

By : Carlos Santana Roldán
2.5 (6)
close
React Cookbook

React Cookbook

2.5 (6)
By: Carlos Santana Roldán

Overview of this book

React.js is Facebook's dynamic frontend web development framework. It helps you build efficient, high-performing web applications with an intuitive user interface. With more than 66 practical and self-contained tutorials, this book examines common pain points and best practices for building web applications with React. Each recipe addresses a specific problem and offers a proven solution with insights into how it works, so that you can modify the code and configuration files to suit your requirements. The React Cookbook starts with recipes for installing and setting up the React.js environment with the Create React Apps tool. You’ll understand how to build web components, forms, animations, and handle events. You’ll then delve into Redux for state management and build amazing UI designs. With the help of practical solutions, this book will guide you in testing, debugging, and scaling your web applications, and get to grips with web technologies like WebPack, Node, and Firebase to develop web APIs and implement SSR capabilities in your apps. Before you wrap up, the recipes on React Native and React VR will assist you in exploring mobile development with React. By the end of the book, you will have become familiar with all the essential tools and best practices required to build efficient solutions on the web with React.
Table of Contents (17 chapters)
close
15
Most Common React Interview Questions

Making action creators and dispatching actions

Actions are the most crucial pieces of Redux; they are responsible for triggering state updates in our Redux Store. In this recipe, we are going to display the top 100 cryptocurrencies listed on http://www.coinmarketcap.com using their public API.

Getting ready

For this recipe, we need to install Axios (a promise-based HTTP client for the browser and Node.js) and Redux Thunk (a thunk is a function that wraps an expression to delay its evaluation):

npm install axios redux-thunk

How to do it...

We are going to use the same...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete