O'Reilly logo

Practical Test-Driven Development using C# 7 by Clayton Hunt, John Callaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Speaker listing component

Another piece of the application that we can test is the components. There are two types of component in a typical React + Redux application. We have container and presentational components.

Container components don't typically hold any real HTML in them. The render function for a container component simply references a single presentational component.

Presentational components don't typically have any business logic in them. They receive properties and display those properties.

In our journey from the back-end to the front-end, we have been covering the retrieval and updating of data. Next, let's look at the container component that will use this data.

Our container component is going to be a simple one. Let's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required