Introducing react.dev
Why did react (effectively) get rid of class components? Conceptually, a component seems better represented by an object&#x2F;class than a procedure&#x2F;function. And aren&#x27;t classes just really functions under the hood anyways?