Book Image

React Components

By : Christopher Pitt
Book Image

React Components

By: Christopher Pitt

Overview of this book

The reader will learn how to use React and its component-based architecture in order to develop modern user interfaces. A new holistic way of thinking about UI development will establish throughout this book and the reader will discover the power of React components with many examples. After reading the book and following the example application, the reader has built a small to a mid-size application with React using a component based UI architecture. The book will take the reader through a journey to discover the benefits of component-based user interfaces over the classical MVC architecture. Throughout the book, the reader will develop a wide range of components and then bring them together to build a component-based UI. By the end of this book, readers would have learned several techniques to build powerful components and how the component-based development is beneficial over regular web development.
Table of Contents (17 chapters)
React Components
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Eat your vegetables


Is there something you really don't like to eat? Perhaps it's a kind of vegetable or fruit. When I was a kid, there were many things I didn't like to eat. I couldn't even remember what many of them tasted like, and they didn't hurt me. I just made up my mind that they were bad, and I didn't like them.

Some developers have similar habits. Are there things you don't like to do as a developer? Not because they're difficult or bad, but just because...

For me, testing was one of those things. I learned about testing many years after I started programming, and it's still something I need to actively work on. I know why it's good, and why the common arguments against testing are bad. Still, I need to convince myself to continually test my work well.

I had to learn that it's not enough just to click through an interface, that testing isn't really testing unless it can be run automatically, that testing isn't really useful unless it happens continuously, and that testing is often...