??: Rahul Chhodde??
?? ????? ?????? React with Next.js, Vue with Nuxt.js, Svelte with SvelteKit? ?? ?? ? ?? ?????? ? ?????. ??? React? ?? ?? ????? ???? Laravel? ?? ?? ??? ?? ?? ? ?????? ??? ? ??? ?? ???? ?? ?? ??? ??? ???? ????.
JavaScript ????? ???? ?? ??? ????? ?? ??? ??? ??? Inertia.js? ?????. ? ?? ?????? Inertia? ???? ??? ???? ????? ?? ??? ?????? ?? JavaScript ?????? ?? ??? ?(SPA)? ???? ??? ?????.
Inertia.js? ??????
Inertia.js? ???? ??? API ??? ?? ???? ????? ? ??? ?????? ???? ?? SPA? ??? ? ?? ?????. 2019? Jonathan Reinink? ?? Inertia? ?? ????? ?? ?? ? ?????? ????? ?? SPA ?? ????? ????? ??????.
??? ??? Inertia? ??? ?????? ?????? ?????? ?? ???? ??? ??? ?? ???? ????? ?? ???? ??? ?????. Inertia? ???? ?????? ??? ?? ?? ?? ?? ? ?? ?? ?? ?????? ???? ?? ???? ?? ?? ??????? ?? ?? ??? ? ????.
Inertia.js? ??? ???? ??? ??????
???? Inertia? Vue? Laravel? ??????. ?? ?????? ? ?? ?????? ?? ??? ????? ??????.
?? Inertia ????? ?? ? ???(SSR), ???? ?? ?? ??, ??? ?? ??? ?? ?? ??, TypeScript ?? ?? ?? ??? ??? ?????. ??? ????? ??? ????? ????? ??? ?? ???????.
Inertia.js? ?? ??
??? ?????? ??? ??? ???? ?? ??? ???. ??? ?? ???? ?? SPA? ????.
- SPA? ?? ??? ????? ??? ???? ?????
- ?? ??? ????? ?? ???? ???? ??
- ????? JSON ???? ??????
- ?? ??? ??? JavaScript? ????
Inertia ?? ?? ???? ?????? ??? ????? ?? ???? ?????. ????? Inertia ??? ???? ?? Inertia JavaScript ?????? ??? ?? HTML ??? Inertia ?????? ?? ????? ?????.
?? ??? ?? Inertia ?????? ???? ??? ???? ? ??? ????? JSON ???? ????. ?????? ??? ???? ???? ?????? ?????? ?? ???? ?? ???? ??? ?? ??? ?? ?????.
??? ?? ????? ????? ???? ??????.
?? ??:
- Inertia.js ??
Inertia.js? ???? ??? ??????
SPA? ?? ??? ?????? ???? ??? ?????? ??? ?? ???? ??? ? ?? ??? ??? Inertia ?? ??? ??? ???? ?? ???? ???.
Inertia? Laravel? ?? ?? ?????? Laravel ????? ? ? ???? ?????. Laravel ????? ????? ???? ???? ???? ??? ? ?? ??? ????? ?? Inertia? ??? ? ? ????.
Inertia? ??? ? ? ?? ? ?? ?? ??? ??? ? ????. ?? ? ????? Inertia ??? ? ?? ???? ???, ?? ? ??? ?? Inertia? ??? ? ??? ??? ???? ??? ??? ? ??? ? ????.
Inertia.js? ??
????? SPA? ? ?? ??? ??? ??? ???? ????. ?? ?? ?????? Inertia? ??? ??????.
???? ???
Inertia? ???? ?? ?????? ???? ?? ?????? ?? ??? ? ????. ??? ??? ???? ?? Inertia? ? ?? ?? ???, ?? ??, ???, ??? ??, ?? ?? ??? ? ?? ??? ?? ?????? ???? ??? ?? ???? ?? ????? ???? ????.
??? ??
Inertia? ?? ??? ???? ???? ??? ? ?? ????? ??? ?? ? ?????. ?? ?? ??? ??? ???? ?? ??? ?? ??? ????? ?? ???? ??? ?? ?? ? ????.
????? ? ???? Inertia? ?? ??? ???? ?? ?? ??? ??? ??? ?? ???? ??? ???? ?? ??? ????. ??? Inertia?? ????? ?? ??????? ??? ????? ?????.
?? ?????? ???? ??? ??? ???? ???? ??? ?? API ? ?? ???? ?? ??? ???? ??? ??? ????.
??? ????
Inertia? GitHub? 6,000?? ?? ??? ???? ??? 85?? ?? ???? ????. Laravel ????? 2,000?? ?? ?? ????. ??? ??? ?? ??? Inertia?? ?? ??? ????? ??? ???? ?? ??? ??? ???? ?? ????.
??? ?? ???? ???? ?? ??? ??? ??? ? ?? ? ???? ??? ?? ? ?? ??? ?? ? ????.
Inertia.js? Livewire? ?? ?? ???? ???? ????? ?? ?? ?????.
?? ??:
- Livewire? Inertia.js: Laravel ????? ??
??? ????
Inertia? ???? ?? ?? ?????? ??? ?? ??? ? ????. ? ???? ???? ?? ??? ???? ?? ???? ?? ?????. Inertia? ????? ? ???? ?? ??? ?? ??? ???? ???? ??? ????, ?? ?? ?? ??? ??? ? ??? ?? ???? ???.
Inertia.js? ??
Inertia? ?? ????? ? ??? SPA? ?? ? ?? ???? ??? ??? ????. ?? ??? ??? ???????.
??? ??
Inertia? ?? ?? ????? ? ??? ?????? ???? ???? ?? ???? Vue? ?? ???? ??? ?????. ?????? ???? ??? ???? ?????? ??????? Laravel, Rails, Phoenix, Django, React, Vue ? Svelte? ?????.
Laravel? ???? Vite? ??? ??? ? ???? Webpack ?? Laravel Mix?? ?? ??? ???? ?? ??? ??? ? ????. Vite ?? ?? ???? JavaScript ?? ?????? ???? ?? ???? ???? ?????.
?? ??:
- Inertia.js, Vue.js ? AdonisJs ????
- Laravel? Vue? ???? ?? ??? ? ???
???? ??
?? ??? ??? ?? ??? ??? ???? ???? Inertia? ???? ??? ????? ?????? ???? ?? ???? ?? ??? API? ???? ????. Inertia? ???? ??? ??? ??? ? ??? ??? ?? ????? ? ? ?? ? ??? ?? ???? ?? ?? ?? ???? ?????.
??
Inertia ?? ??? JavaScript ??? ?? ???? ??? ???? HTML? ?????? ??? ?? ??????? ??? ??? ????? ?? JSON ???? ??? ???? HTML ?? ????.
?? ?? Inertia ?? ?? ?? ????? ? ??? SPA?? ???? ???? ??? ?? ??? ?? ?????. ?? ????? ? ?? ??? UX? ???? ??? Core Web Vital ??? First Contentful Paint? ?????.
?? ??:
- SPA? ?? ?? ? ??? ?? ??
SEO ???
?? ?? ?? ?? ? ???? ????? ? ???? ?? ???? ? ?? URL? ?????. ??? ?? ? ???? ?????? ?? ???? ??? ? ????. ?? ??? ???? ??? ??? ??? ?? ?????? ???? ?? ???? ?? ?? ??? FCP ??? ? ?? ???? ????.
? ? ??? ???? ? ?? SEO? ???? Inertia.js ?? ?? SPA?? ??? ????.
?: ????? ? ???(CSR)? FCP ????? ???? ??? ??? ?? Inertia.js? SSR ????? ???? ??? ?? ???? ?? ???? ??? ?? ? ????.
?? ??
Inertia.js? ?????? ??? ??? ??? ??? ?? ??? ?? ? gzip ?? ? ??? ? 15kB? ??? ??? ?? ??????.
?? ?? ??
Inertia ???? ?? ?? Laravel? ??? ?????? ??? ? ?? ??? ? ????. ?? ??? ??? ?? ????? ???? ??? ?? ???? ?? ???? ?? ???? ????.
Inertia.js ????
?? ?? ?? ? ?? ????? ? ??? ???? React ?? ?????? ?? Laravel ?? ???? Inertia? ???? ??? ?????. ? GitHub ????? ? ?????? ??? ?? ??? ?? ? ????.
???? ?? ? ????? TypeScript? ???? ????.
?? ? ??
???? Laravel? ???? ??? ???? Laravel ?? ???? ??? ???? ? Laravel ????? ??? ?????.
laravel new
??? ???? ??? ?? ??? ????? ???.
????? ?? ??? ???? ???? ??? ??? ? ?? ????? ?? ??? ??? ?????? ???? Git ???? ????? ?? ?? ??? ????? ?????.
Breeze ?? Jetstream? ?? ??? ??? ?? ?? ?? ?? Inertia.js ?? ????? ????? ??? ?? ??? ????. ?? ???? ?? ???????.
?? ??:
- Laravel Breeze? Inertia-React ??? Next.js ? Gatsby ??
- Laravel? AdonisJs: ?? ?? ???? ????
?? ??? ??? ??????? ????? ???? ?????. ? ??? ???? ?? PostgreSQL? ????? pgsql? ??????. ?????? ?? ??? ?? ?????.
???? ????? ?? ??? ??? ???? Laravel? Inertia.js ??? ???? ???.
composer require inertiajs/inertia-laravel
? ??? Inertia ? ?? ???? ?? Laravel ???? ?????. ?? ?? Laravel? Inertia? ?? ??? ? ?? ??? ??? ????.
?? ?? Laravel?? Inertia ??? ???? ?? Inertia ????? ??? ?????. ?? ????? ?? artisan ??? ??????.
laravel new
?????? ??
Laravel? ?? ???? ??? ?? React? ???? ???? ?? ??? ???????. ???? ??? CD? ?? ?? ??? ???? React? React DOM? ??? ?????. ??? ?? ??? ???? ???? ?? ?????.
composer require inertiajs/inertia-laravel
???? ??? ?? Vite? ?? ???? ??? ???? Vite? React ????? ?? ????? ???????.
php artisan inertia:middleware
????? ?? ??? ???? React? ?? Inertia ??? ?????.
pnpm add react react-dom
? ???? Tailwind CSS? ???? ??? ?? ??? ?? ?????. Tailwind CSS? ????? ?? React ?? Vue ??? Tailwind CSS? ??? ? ??? ??? ?????.
??
?? resources/js ?????? app.js ??? ?? ??? app.jsx? ??? ??? ???? ????.
pnpm add --save-dev @vitejs/plugin-react
? ?? ??? Inertia? ???? ???? ??? ??? ???? ? ??? ???.
???? resources/view ????? ??welcome.blade.php ??? ??? app.blade.php? ??? ??? ???? ??????.
pnpm add @inertiajs/react
????? ?? HTML ?? ??? ? ???? ?? ?? ??, ???? ?? ?? ?? ?? ????? ???? ? ??? ?? Inertia ? Vite ???? ???? ????.
???? ?? ?? ??? ???? ?? bootstrap/app.php ??? ?? ????? ?????.
import { createInertiaApp } from "@inertiajs/react"; import { createRoot } from "react-dom/client"; import "../css/app.css"; createInertiaApp({ resolve: (name) => { const pages = import.meta.glob("./Pages/**/*.jsx", { eager: true }); return pages[`./Pages/${name}.jsx`]; }, setup({ el, App, props }) { createRoot(el).render(<App {...props} />); }, });
?? Vite? ?? ???? ??? ???? ??? ?? ? ??? React ????? ??? ?????.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> @viteReactRefresh @vite('resources/js/app.jsx') @inertiaHead </head> <body> @inertia <div id="app"></div> </body> </html>
????? ?? ??? ???? Laravel? React? ?? ??? ?????.
<?php use Illuminate\Foundation\Application; use Illuminate\Foundation\Configuration\Exceptions; use Illuminate\Foundation\Configuration\Middleware; use App\Http\Middleware\HandleInertiaRequests; return Application::configure(basePath: dirname(__DIR__)) ->withRouting( web: __DIR__.'/../routes/web.php', commands: __DIR__.'/../routes/console.php', health: '/up', ) ->withMiddleware(function (Middleware $middleware) { $middleware->web(append: [ HandleInertiaRequests::class, ]); }) ->withExceptions(function (Exceptions $exceptions) { // })->create();
? ????? ???? ?? ??? ??? ??? ??? ?? ??? ? ???, ???? ?? ???? ?? ??? ? ?? ?? ????? ???????.
? ??? ????? ???? ? ?? ?? URL? ? ? ????. Laravel ?? ???? Laravel ?? ??? ???? ?????. ??? Inertia? ??? ?? ?? ????? ??????!
Inertia.js? ?? ??
Inertia ??? ?? ?? ? ? ????. ? ??? ? ? ?? ??? ??? ???????.
??? ? ????
??? ????? ???? ? ????? ????? resources/js ????? ? ?? ?? ????? ????. ?? ??? ?????? ?? ??? ???? ??? ?? ????? ??? ?? ????.
??? ?? ????? ??? ????.
import { defineConfig } from "vite"; import laravel from "laravel-vite-plugin"; import react from "@vitejs/plugin-react"; export default defineConfig({ plugins: [ laravel({ input: "resources/js/app.jsx", refresh: true, }), react(), ], resolve: { alias: { "@": "/resources/js", }, }, });
????? ?? ???? ??? ?? ??????? ?? ???? ??? ?????. ?? ?? ??? ?? MainLayout? ???? ?? ??? ??? ? ????.
laravel new
??? MainLayout.jsx? About.jsx? Tailwind CSS?? ???? ???? ???? ?? ???? ?? ???? ??? ???? ?????.
?? ? ???
?? Laravel ???? ???? ??? ??? ?? ??? ?? ?????? ?? ???? ??? ? ????. ?? ??? ???? ???? ??? ?? ?????. Express ? Fastify? ?? JavaScript ?? ??? ?????? ???? ?? ??? Laravel?? ???? ???? ??? ?? ??? ????.
routes/web.php ??? ???? ? ??? ???? ?? ??? ?? Inertia? ??? ???? ???? ?? ???? ??????.
composer require inertiajs/inertia-laravel
Inertia? ?? ??? React ? Next? ???? ??? ?? Inertia? Link ?? ??? ???? ??? ? ????.
php artisan inertia:middleware
?? ?? ??? ? ?? ???? ??? ??? ?? ?? SPA? ??? ?? ?? ??? ?????.
HTTP ??(GET/POST/?GET ??)
Inertia? ?? ? ?? ??? ???? ?? GET ? POST ??? ?? ???? useForm ??? ?????. ?? ?? ?? ?? ???? ?? ???? ?????? ??? ?? ???? ???? ? ?? usePage ??? ?????.
??? ??? ???? ???? ???? ?? GET ? POST ??? ???? ??? ????. GET ??? Inertia? ?? ????? ???? ??, useForm ??? post ???? ???? POST ??? ??? ??? ???? ????.
pnpm add react react-dom
? ?? ??? ???? ???????? ??? ??? ???? ?? HTML ???? ???? ???? ??? ? ???, ?? ??? ??? ???? ? ???? ??????? ? ??? ?? ????.
??? ???
Inertia.js? NProgress ?? ??? ??? ?????. App.jsx ??? ???? ?? ?? ????? ??? ???? ?? ?? ??? ??? ? ????.
pnpm add --save-dev @vitejs/plugin-react
NProgress ?? ?????? ?? ???? ? ????? ???? ?? ?????.
?????? ??
Laravel? ????? ????? ??????? Inertia ??? ???? ???? ? ?? ??? ??? ?? ????. .env ??? ??? ?????? ?? ??? ????, ??? ?????? ????? ???? ??? ????, config/database.php ??? ???? ???.
?? ???????? Laravel? ?????? ???? ???? ??? ?????? ???? ??? ? ????. ?? ??????? ??? ??? ??????? ??? Laravel Seeder ????? ???? ?? ??? ???? ?? ?????? ??????. ? ??? ?? ??? ? ?? ??? ??? ????.
- ? ????? ? ??? ???? ?? ??? ???? ? ???? ?? ?????? ??? ???? ?? HTTP ????? ??????
- resources/js/Pages ????? ??? ???? ???? ??? ??? ??? prop? ??????. ? ??? ??? Inertia? ?? ????? ???? GET ??? ?? ??? ???? ?????. ??????? ???? ???? ?? POST ??? ? ?? ????
- Routes/web.php ??? ??? ??? ???? ??? HTTP ????? ??????
Laravel ???? ?? ??? ???? Laravel? ???? ??????? ?? ???? ?? ??? ?? ??????? ???????? ?? ? ??? ?? ? ??? ?? ? ????. ??? ?? ?? ??? ??? ??? ?? ???? ?? ???? ??? ???? ? ? ??? ? ? ????.
Inertia.js ?? ??
??? ???? ?? ??? ?? ?????. Inertia? ???? Laravel? ?? JavaScript ?????? ???? ??? ??? ??? ?? ???? ?? ?? ?? ??? ??????.
?? ??? ??? ????? ??? Inertia? ?? ??? ? ? ?? ? ?? ?? ??? ??? ????.
- ??? ??? ?? ????? ????? ??? ?? ????? ? ??? ???? ?? ??? ???? ??? ?
- Laravel? ???? ????? ?? JavaScript ?? ????? ???????? ?? ? ?? ???? ?? ?????? ????? ??? ?
- ???? ?? ?? ?? ??? ???? ??? ??? ?? Laravel ?? ???? ??? ??? ?? ?
- ?? ???? ? ?? ???? SSR? ?? ??? ??? SPA
- PHP? JavaScript? ?? ???? ?? ???? ?? ??? ??
Inertia.js vs. Livewire vs. ?????
Inertia? ??? ?????? ?????? ????? ? ?????? ???? ??? ???? ????. Livewire? Hybridly? ??? ??? ??? ?? ?? ?? ? ?? ?????. ??? ??? ? ?? ??? ??? ????.
- ?????— Inertia.js? Livewire? ?? ????? ?? ????? ??? ??? Hybridly?? ? ?? ????? ??? ????.
- ?? — Livewire ? Hybridly? ????? ????? ??? ???? ?? ?? Inertia.js? ?? JavaScript ?? ????? ???? ???? ??? ??? ????.
- ?? — ??? ??? ?? ???? Inertia.js ?? SPA? ? ?? ?? ??? ??? ? ?? ?? ???? ???? ?? ?????? Livewire ? Hybridly? ???? ?? ??? ?? ? ?? ? ????. .
- ??? — Livewire? Inertia.js? ? ??? ? ??? ??? ?? Hybridly? ?? ???? ? ?? ????.
? ?? ??? ??? ? ?? ??? ???? ?? ? ? ??? ???? ??? ???? ?????.
Feature | Inertia.js | Livewire | Hybridly |
---|---|---|---|
Server-side framework | Laravel, Rails | Laravel only | Laravel only |
Client-side framework | Vue.js, React, Svelte | None (PHP-based) | Vue.js |
SPA-like experience | Yes | Yes | Yes |
Server-side rendering (SSR) | Optional | Yes | Yes |
Real-time updates | No (needs additional setup) | Yes | Yes |
Full-page reloads | No | No | No |
Learning curve | Moderate | Low | Moderate |
Component-based architecture | Yes | Yes | Yes |
State management | Client-side | Server-side | Both |
SEO-friendly | Good | Excellent | Excellent |
Backend-driven UI | Partial | Full | Full |
Progressive enhancement | Limited | Yes | Yes |
File uploads | Supported | Native support | Supported |
Pagination | Supported | Native support | Supported |
Form handling | Client-side | Server-side | Both |
Authentication | Supported | Native support | Supported |
Authorization | Supported | Native support | Supported |
Testing | Both client & server | Server | Both client and server |
Ecosystem/Community | Small | Large | Small (newer) |
Performance | Very good | Good | Very good |
Bundle size | Larger (due to JS framework) | Smaller | Moderate |
Offline support | Possible | Limited | Possible |
Mobile app development | Possible | Not ideal | Possible |
??
? ?? ?????? Inertia.js? ????, Laravel? ?? ???? ??? ?????? React? ?? ?? ????? ?????? ???? ????? ??????? ??? ? Inertia.js? ??? ????? ?????.
Inertia ??? ???, ?? ?? ??, Laravel? ???? ???? ?? ?? ?????. ???? ??? ?? ??? ???? ??, ??? ?? ????? ?? ? GitHub ???? ???? ?? ????? ??? ????? ??? ????????.
??? ??? ????? ??? ????? ?? ??? JS ?????? ???? ????? ?? ??? ??? ??????
?????? ?? ? ????? ??? ?? ??? ??? ????. ??? JavaScript ?????? ?? ???? ?? ???? ???? ? ? ?? ??? ???? ??? ? ?? ???? ???? ???.
LogRocket? JavaScript ??? ?? ??? ?????? ??? ??? ???? ??? ?? ????? ??? ? ?? ??? ????? ?????? ???? ??????.
LogRocket? ?????? ???? ?? ??? ???? ???? Redux, Vuex ? @ngrx/store?? ?? ????? ???? ????? ????. ??? ??? ??? ???? ?? ??? ???? ? ??????? ??? ???? ??? ? ????. LogRocket? ?? ? ??? ?????? ????? CPU ??, ????? ??? ??? ?? ?? ????? ?????.
???? ?????. ??? ????? ??? ???.
? ??? Inertia.js ?? ???: ??, ?? ? ??? ?? ?????. ??? ??? 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)

Node.js?? HTTP ??? ???? ? ?? ???? ??? ????. 1. ?? ????? ????? ??? ??? ? ?? ????? ?? ?? ? https.get () ??? ?? ??? ??? ? ?? ????? ?? ??? ?????. 2.axios? ??? ???? ? ?? ??????. ??? ??? ??? ??? ??? ??? ???/???, ?? JSON ??, ???? ?? ?????. ??? ?? ??? ????? ?? ????. 3. ?? ??? ??? ??? ??? ???? ???? ??? ??? ???? ?????.

JavaScript ??? ??? ?? ?? ? ?? ???? ????. ?? ???? ???, ??, ??, ?, ???? ?? ? ??? ?????. ?? ????? ?? ?? ? ? ??? ????? ?? ??? ??? ????. ??, ?? ? ??? ?? ?? ??? ??? ??? ???? ??? ??? ???? ??? ?? ??? ????. ?? ? ????? ??? ???? ? ??? ? ??? TypeofNull? ??? ?????? ??? ? ????. ? ? ?? ??? ???? ?????? ????? ???? ??? ???? ? ??? ? ? ????.

?? JavaScript ??? ??? ??? ?????? ?? ??? ?? ?? ??? ?? ???? ????. 1. ??? ???? ???? ?? ??? ?? ? ? ???? ??? ??? ?? ? ?? ????? ?????. 2. Angular? ?????? ??? ?? ???? ? ?? ?? ??? ??? ??? ???? ?????. 3. VUE? ???? ?? ??? ???? ?? ?? ??? ?????. ?? ?? ?? ??, ? ??, ???? ???? ? SSR? ???? ??? ??? ??? ???? ? ??? ?????. ???, ??? ??? ??? ????? ????. ??? ??? ??? ??? ?? ????.

?????, JavaScript ???! ?? ? JavaScript ??? ?? ?? ?????! ?? ?? ??? ??? ??? ? ????. Deno?? Oracle? ?? ??, ??? JavaScript ?? ??? ????, Google Chrome ???? ? ??? ??? ???? ?????. ?????! Deno Oracle? "JavaScript"??? ????? Oracle? ?? ??? ??? ??????. Node.js? Deno? ??? ? Ryan Dahl? ??? ?????? ???? ????? JavaScript? ??? ???? Oracle? ????? ???? ?????.

Cacheapi? ?????? ?? ???? ??? ???? ???, ?? ??? ??? ?? ???? ? ??? ?? ? ???? ??? ??????. 1. ???? ????, ??? ??, ?? ?? ?? ???? ???? ??? ? ????. 2. ??? ?? ?? ??? ?? ? ? ????. 3. ?? ?? ?? ?? ?? ??? ??? ?? ?????. 4. ??? ???? ?? ?? ???? ?? ?? ?? ?? ?? ???? ?? ?? ??? ??? ? ????. 5. ?? ???? ??, ??? ??? ? ??? ??, ?? ??? ? ?? ???? ???? ???? ? ?? ?????. 6.?? ??? ?? ?? ?? ??, ???? ?? ? HTTP ?? ????? ?????? ???????.

??? JavaScript?? ??? ??? ?????? ?? ???????. ?? ??, ?? ?? ? ??? ??? ?? ????? ????? ?????. 1. ?? ??? ??? ????? ???? ??. ()? ?? ??? ??? ?????. ?. ()? ?? ??? ?? ??? ??? ?? ? ? ????. 2. ?? ??? .catch ()? ???? ?? ??? ??? ?? ??? ??????, ??? ???? ???? ????? ??? ? ????. 3. Promise.all ()? ?? ????? (?? ?? ?? ? ??????? ??), Promise.Race () (? ?? ??? ?? ?) ? Promise.AllSettled () (?? ??? ???? ??)

.map (), .filter () ? .reduce ()? ?? JavaScript ?? ?? ???? ??? ??? ??? ? ? ????. 1) .map ()? ??? ??? ??? ???? ? ??? ???? ? ?????. 2) .filter ()? ???? ??? ????? ? ?????. 3) .reduce ()? ???? ?? ??? ???? ? ?????. ???? ??? ????? ??? ?? ?? ??? ?????.

JavaScript? ??? ??? ?? ??, ? ? ? ?? ???? ???? ??? ??? ?????. 1. ?? ??? ?? ??? ???? ??? ??? ??? ??? ?? WebAPI? ?????. 2. WebAPI? ??????? ??? ?? ? ? ??? ?? ??? (??? ?? ?? ???? ??)? ????. 3. ??? ??? ?? ??? ?? ??? ?????. ?? ??? ??? ????? ??? ??? ?? ? ???? ?????. 4. ???? ?? (? : Promise. 5. ??? ??? ???? ?? ???? ???? ?? ?? ?? ??? ????? ? ??????.
