scrimba
Frontend Career Path
Advanced React
Performance
StrictMode - double renders components
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

StrictMode - double renders components
AboutCommentsNotes
StrictMode - double renders components
Expand for more info
Product.jsx
run
preview
console
import React from "react"

export default function Product({ product }) {
return (
<div className="product-card">
<p className="truncate">{product.name}</p>
</div>
)
}
Console
/index.html
-7:46