Open in app
Dominic Tobias
91 Followers
About

Sign in

91 Followers
About
Open in app
Dominic Tobias

Dominic Tobias

Feb 9, 2018·1 min read

Actually it seems I was correct unless something changed or this is incorrect: https://stackoverflow.com/questions/29074690/react-why-components-constructor-is-called-only-once

Dominic Tobias

I make UIs and such. Using JS mostly but I like to dabble.

A constructor is called every time the component is mounted, not only once.
12
2

Bartosz Szczeciński

More from Dominic Tobias

I make UIs and such. Using JS mostly but I like to dabble.

More From Medium

Chris Hemsworth Is Exactly What’s Wrong With The Fitness Industry

Daniel Hopper in Better Marketing

The Future is More Terrifying Than We Can Imagine

Alastair Isaacs in Predict

Why Is The Age of Consent in Japan Only 13-Year-Old?

Isaiah McCall in History of Yesterday

The Fate Of Elon Musk’s Assistant Is A Cautionary Tale For Negotiating Salary

Nick Wolny in Entrepreneur's Handbook

The Sexiest Job of the 21st Century Isn’t “Sexy” Anymore

Nishi Kashyap in ILLUMINATION

The Exact Steps I Followed to Make $1,500+ of Passive Income Every Month

Julia Horvath in Entrepreneur's Handbook

Five Signs of a Highly Intelligent Person

Sean Kernan in Mind Cafe

Living with an M1

MustSeeMelons in The Startup

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store