StrictMode
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
<StrictMode> e kontrollon aplikacionin për gabime gjatë zhvillimit: i ekzekuton disa funksione dy herë qëllimisht (prandaj useEffect duket sikur ekzekutohet dy herë) që të zbulojë efekte anësore. S'ka efekt në production.
EnglishEN
<StrictMode> checks your app for problems during development: it deliberately runs some functions twice (which is why useEffect seems to run twice) to expose side effects. It has no effect in production.
Si ta mendosh
Si inspektori që e provon derën dy herë për të parë nëse mbyllet mirë.
Lexoje në anglisht
Like an inspector who tries the door twice to check it really closes.