??? ????
React Suspense? ?? ??? ???? ???? ?? ?? UI? ???? ???? ??? ???? ???? ??? ? ?? ??? ??? ?????. ?? React.lazy, ?? ??? ? React Query, Relay ?? ??? ?? ??? ?? ??? ???? ???? ?? ?????.
???? ?? ??
- ?? ??? ??: Suspense? ??? ??? ???? ?? ?? ??? ?????. ???? ?? ?? UI(?: ?? ???)? ?????.
- ?? ???: ??? ??? ???? ?? ?? ?? ?? ???? ??????.
?? ??
import React, { Suspense } from "react"; const LazyComponent = React.lazy(() => import("./LazyComponent")); function App() { return ( <Suspense fallback={<div>Loading...</div>}> <LazyComponent /> </Suspense> ); } export default App;
- React.Suspense: ?? ??? ?? ??? ?????.
- fallback: ?? ??? ????? ???? ?? ??? UI? ?????.
????? ?? ??
- ?? ?? ?? ??: React.lazy? ???? ???? ?? ??? ?????.
- ??? ????: Relay ?? React Query? ?? ?????? ???? ??? ??? ??? ?????.
- ?? ???: ?? React ???? ???? ??????.
?? 1: Suspense? ??? ?? ??
???? ??
import React from "react"; import HeavyComponent from "./HeavyComponent"; function App() { return ( <div> <h1>Main App</h1> <HeavyComponent /> </div> ); } export default App;
HeavyComponent? ????? ???? ?? ?? ??? ?????.
????? ??
import React, { Suspense } from "react"; const HeavyComponent = React.lazy(() => import("./HeavyComponent")); function App() { return ( <div> <h1>Main App</h1> <Suspense fallback={<div>Loading Heavy Component...</div>}> <HeavyComponent /> </Suspense> </div> ); } export default App;
?? HeavyComponent? ??? ?? ???? ?? ???? ?? ??? ?????.
?? 2: ?? ?? ??? ?? ? ?? Suspense
import React, { Suspense } from "react"; const ComponentA = React.lazy(() => import("./ComponentA")); const ComponentB = React.lazy(() => import("./ComponentB")); function App() { return ( <div> <h1>Main App</h1> <Suspense fallback={<div>Loading Components...</div>}> <ComponentA /> <ComponentB /> </Suspense> </div> ); } export default App;
?? UI? ? ?? ?? ??? ??? ???
?????.? 3: ??? ????? ?? ?? ??(???)
React Suspense? Relay ?? React Query? ?? ?????? ??? ? ??? ??? ?????? ?????.
React ??? ?
import React, { Suspense } from "react"; import { useQuery } from "react-query"; function DataComponent() { const { data } = useQuery("fetchData", fetchData); return <div>{data}</div>; } function App() { return ( <Suspense fallback={<div>Loading data...</div>}> <DataComponent /> </Suspense> ); } export default App;
Suspense? ??? ?? ??
????? ???? ???? ?? ??? ???? React Suspense? ??? ?? ?? ??? ???? ????. ??? ???? ?? ??? ?????.
import React, { Suspense } from "react"; const LazyComponent = React.lazy(() => import("./LazyComponent")); function App() { return ( <Suspense fallback={<div>Loading...</div>}> <LazyComponent /> </Suspense> ); } export default App;
Suspense ?? ?? ??
- ??? ??: ?? ????? ????? ??? ?? ???? ?????.
- ?? ??? ??: ?? ?? ?? ??? ?? ??? ???? ????? ?????.
- ???? ??: ? ?? ??? ?? ??????? ??? ??? ????.
????? ??
- ??? ??? ??: ?? UI? ???? ?? ???? ?????.
- ??? ?? ??: ???? ?? ??? ?? ?? ??? ? ?????.
- ???? ??? ??: ?? ???? ???? ?? ??? ?????.
?? ??: ??? ????
?? ??? ????? ???? ?? ?? Suspense ????? ??? ? ????.
import React from "react"; import HeavyComponent from "./HeavyComponent"; function App() { return ( <div> <h1>Main App</h1> <HeavyComponent /> </div> ); } export default App;
????? ??
- ??? ???? ??: ???? ?? ???? ???? ?????.
- ?? ?? ??: ?? ??? ?? ?? ?? ?? ????? ?????.
- ???? ???: ES6 ?? ? Promise? ???? ?? ????? ?????.
??
React Suspense? React ???????? ??? ???? ???? ?? ??? ?????. ?? ?? ??? ?????, ?? ???? ??? ?????, ?? ?? ? ?? ?? ??? ???? ?? ??? ??? ??? ?????.
? ??? ??? ??? ???? ?? React?? Suspense? ???? ??? ?? ?????. ??? ??? 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

JavaScript ?? ????? ??????? ??? ?? ??? ??? ????? ?? ??? ????. ????? ??? ?????. 1. ?? ?? (CodesPlitting) ??, ?? ??? React.lazy ()? ?? ?? ?? ?? ??? ????? ??? ???? ? ?? ????? ??? ?? ??? ???????. 2. ???? ?? ?? (???)? ????, ES6 ?? ????? ???? "Dead Code"? ???? ?? ? ????? ?? ??? ??? ? ???????. 3. ?? ??? ???? ???? GZIP/BROTLI ? TERSER? JS? ???? ??? ????? ???? ?? ???? ??? ? ? ??????. 4. ??? ???? ???? day.js ? fetch? ?? ?? ?????? ??????.
