#1 React Drops

When I think of Web, I think of simple things, now I started thinking in React. Let start from the very beginning.

The why to use React the people on Facebook already answered, then I will write code!

The minimum code example is the following:

See the Pen dGeyxq by Paulo Diogo (paulodiogo) on CodePen.

This code is very simple, but shows the power of React, and we are rendering an element inside a container in the DOM. The render method will render or update in the element, and you can provide a callback that will be called after the element is rendered or updated.

Comments