State allows you to change the content on the virtual dom instantly.

A React component is the key part to this whole thing. At the very basic, a React Component looks like this:

import React from 'react'

class Navigation extends React.Component {
    constructor(props) {

        this.state = {
            something: "Text!"

    render() {
            <div className="navigation">

export default Navigation

You can use this a good starting point for all of your components.