Summary
This chapter introduced us to the popular React framework and discussed how we can use it with TypeScript to build a modern client side application to add contact information. We started by defining the requirements and creating a mock layout of our application before we created the basic implementation using create-react-app with the react-scripts-ts script version. To leverage Bootstrap 4 in a React-friendly way, we added in the reactstrap package.
After discussing how React uses the special JSX and TSX formats to control the way it renders, we moved on to customizing the App component and adding our own custom TSX components. With these components, we looked at passing properties and setting up state, which we then used to create ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access