- accepted / - tried
Here is a simple problem, implement useEffectOnce() as the name says itself, it runs an effect only once.
useEffectOnce()
時間と空間複雑性はどう?
Try it out
Console