Right! It’ll get created once, but I was under the impression that the reference to the array will…
Jason Block

Since the default props are treated as immutable it doesn’t matter that it is created only once. Actually it’s a good thing because then always the default data has the same identity which can lead to more performance boosts!

Show your support

Clapping shows how much you appreciated Esa-Matti Suuronen’s story.