html, javascript ? Reactjs ??? ???? ?? ?? ??? ??? ??????
????:
1) React ??? ????.
2) ?? ???? "Loading"? ???? ???.
3) ?? ???? ?? 1??? ?????(1) ???? ?? ?????.
?:
?? ????. -1?- ?? ?.. -1?- ?? ?... -1?- ?? ?
????:
??? ??? ?????. ?? ?? ??(??, ?? ?)? ?????. React ??? ????
?? ?? ??:
1) "Loading"? ???? ??? ????? ?????.
const Loading = () => { const loadingText = "Loading"; return ( <div> <h2>{loadingText}</h2> </div> ); }; export default Loading;
??:
1) ?? ??? ????? ??? ?????. ??? useState? ???? ?? ??? ?????.
const [dots, setDots] = useState(1);
???? ??? ? ?? ?????
{".".repeat(dots)}
2) ???? ??? ???? ?????. window.setInterval? ? ??? ??? ? ????. ??? ?? ??? ?? ???.
window.setInterval(() => { // Logic to increment dots }, 1000);
3) ?? ??? ? ? ?? ???? useEffect ??? ????.
useEffect(() => { window.setInterval(() => { // Logic to increment dots }, 1000); }, []);
???? ??? '?? ?'? ?????.
?? ??? window.setInterval ?? ?? ??? ??? ??? ???.
??? ??? ???:
setDots((dots + 1) % 4);
??? ?????. ?????
??? ?????.
"?? ?."-1s-"?? ?..". ??? ?? ????.
??: useEffect? ?? fn? ?? ?? ??(1)?? ??????. dots ??? ????? useEffect? ?? fn ??? ??? ?? ????.
Catch-1: useEffect? ??? ??? ?? ???? ?? ??? ????. ???? ?? ??? ????? ??? window.setInterval? ???? ?????. (?? window.setTimeout? ??? ? ????. ??? ? ?????)
Catch-2: Loading ?? ??? ?? ??? useEffect ? window.setInterval? ????? ???. ??? useEffect?? ?? ?? ???? useEffect? ?? ???? ???.
?? ??? ???? ?? ???? ?? ??? ???.
??? ???
useEffect? ?? ?? ?? ??(?: effectDots)? ?????. window.setInterval? ?? ??? effectDot? ????? ?? ?? ??? ?? ??? ?????.
(??? ???? setInterval -> ?? ??? ?? ???? ?? ??? ?? ?? -> setInterval? ???? ????. )
?? ?? effectDots? ???? useEffect ? window.setInterval? ?? ?? ??? ???????.
useEffect(() => { let effectDots = 1; window.setInterval(() => { // increment, modulo 4 // set the Loading component's state setDots(effectDots++ % 4); }, 1000); }, []);
? ??? ?? ?? ?? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











Java ? JavaScript? ?? ?? ????? ??? ?? ?? ?? ???? ????? ?????. Java? ??? ? ??? ?????? ??? ???? JavaScript? ?? ? ??? ??? ?????.

JavaScriptCommentsareEnsentialformaining, ?? ? ???? 1) Single-LinecommentsERUSEDFORQUICKEXPLANATIONS.2) Multi-linecommentSexplaincleClexLogicOrprovidedEdeDDocumentation.3) inlineecommentsClarifySpecificPartSofcode.bestPractic

JavaScript?? ??? ??? ?? ? ? ?? ??? ???????. 1. ?? ??? ??? ???? ?? ??? ????. ISO ?? ???? ???? ???? ???? ?? ????. 2. ?? ??? ?? ???? ??? ?? ???? ??? ? ??? ? ?? 0?? ????? ?? ??????. 3. ?? ?? ???? ???? ???? ?? ?????? ??? ? ????. 4. Luxon? ?? ???? ???? ?????? ???? ?? ????. ??? ?? ???? ????? ???? ??? ????? ?? ? ????.

TAGGSATTHEBOTTOMOFABLOGPOSTORWEBPAGESERVESPRACTICALPURSEO, USEREXPERIENCE, andDESIGN.1.ITHELPSWITHEOBYOWNSESPORENGENSTOESTOCESKESKERKESKERKERKERDER-RELEVANTTAGSWITHOUTHINGTEMAINCONTENT.2.ITIMPROVESEREXPERKEEPINGTOPONTEFOCUSOFOFOFOCUSOFOFOFOCUCUSONTHEATECLL

JavaScriptIspreferredforwebDevelopment, whithjavaisbetterforlarge-scalebackendsystemsandandandoidapps.1) javascriptexcelsincreatinginteractivewebexperiences withitsdynatureanddommanipulation.2) javaoffersstrongtypingandobject-Orientededededededededededededededededdec

??? ?? ? ??? DOM?? ??? ??? ? ?????. ??? ?? ????? ?? ??????, ??? ?? ???? ?? ????????. 1. ??? ??? addeventListener? usecapture ?? ??? true? ???? ?????. 2. ??? ??? ?? ???? usecapture? ???? ????? ?????. 3. ??? ??? ??? ??? ???? ? ??? ? ????. 4. ??? ?? ?? ?? ??? ?? ??? ??????? ??? ???? ?????. 5. ??? ?? ?? ?? ??? ?? ???? ?? ???? ? ??? ? ????. ? ? ??? ???? ???? JavaScript? ??? ??? ??? ????? ???? ???? ??? ??????.

javascriptassevenfundamentalDatatatypes : ??, ???, ??, unull, ??, ? symbol.1) ?? seAdouble-precisionformat, ??? forwidevaluerangesbutbecautiouswithfatingfointarithmetic.2) stringsareimmutable, useefficientconcatenationmethendsf

Java? JavaScript? ?? ????? ?????. 1. Java? ???? ???? ??? ? ??? ?????? ?????? ? ?? ???? ?????. 2. JavaScript? ?? ? ?? ?? ? ??? ?? ??? ???? ??? ? ?? ? ?? ?????.
