In this article, we’ll create a demo application illustrating how we can add input fields to a form in React programmatically. We’ll have an add button, which renders a new input field when clicked, and a delete button that does the opposite.
Angular lets us create two kinds of custom directives—attribute and structure—to control how things are rendered in the DOM or to change the DOM layout. Let’s get started with these tools in Angular!
This post covers concepts every JavaScript developer should be comfortable with before learning React. Although there are still many concepts you should be familiar with to be a better React developer, the ones mentioned here are almost always what you’ll run into when you write React.