Belajar Nuxt 3 Bahasa Indonesia - #1 Apa Itu Nuxt?

Sxurce Cxde ID
17 Feb 202417:13

Summary

TLDRThe video script introduces 'Next.js', an open-source framework designed to simplify and enhance web development with intuitive features and powerful capabilities. It emphasizes Next.js's server-side rendering, hot module replacement for efficient development, and type safety with TypeScript support. The script also highlights Next.js's automated file-based routing, code splitting, and built-in utilities for data fetching, all aiming to provide a seamless developer experience and improved web performance.

Takeaways

  • 🌐 The script introduces 'Next.js', an open-source framework for intuitive and powerful web development.
  • πŸ” It emphasizes that 'Next.js' is a successor to 'JS', moving away from traditional JavaScript to a more streamlined approach.
  • πŸ“š The framework is described as 'intuitive', suggesting an easy learning curve and user-friendly interface for developers.
  • πŸ› οΈ 'Next.js' offers features like server-side rendering, hot module replacement, and automatic code splitting to enhance development efficiency.
  • πŸ”‘ It highlights 'TypeScript' support, providing developers with type safety and auto-suggestions for improved coding experience.
  • πŸ“ˆ The script mentions 'Next.js' as being performance-oriented, with built-in features that optimize web applications for speed and responsiveness.
  • πŸ—‚οΈ 'Next.js' uses a convention-based approach for directory structure, reducing the need for repetitive configuration and allowing developers to focus on feature development.
  • 🌐 It supports server-side rendering by default, which is beneficial for SEO and accessibility, ensuring content is rendered on the server before being sent to the client.
  • πŸ”„ 'Next.js' incorporates file-based routing, automatically creating routes based on the file structure within the 'pages' directory.
  • πŸ”Œ The framework is modular, offering a wide range of integrations and modules created by the community to extend its functionality.
  • πŸ›‘οΈ 'Next.js' is production-ready, with considerations for deployment and various hosting options, catering to different developer needs.

Q & A

  • What is the main focus of the Next.js framework?

    -The main focus of Next.js is to make web development intuitive and powerful, enabling developers to create performant and production-ready web applications with a great developer experience in mind.

  • Why did Next.js decide to move away from using 'n' as its name?

    -Next.js decided to move away from using 'n' as its name because they wanted to rebrand and simplify the name to just 'Next', which is now the name of the framework without the 'n' prefix.

  • What does the 'intuitive' aspect of Next.js mean in terms of web development?

    -The 'intuitive' aspect of Next.js refers to the framework's design that allows developers to focus on building features without worrying about repetitive tasks like directory structure or conventions, as Next.js provides defaults and automates many aspects of web development.

  • How does Next.js support TypeScript development?

    -Next.js supports TypeScript development by providing zero-config setup, meaning developers can start using TypeScript without additional configuration. It also ensures type safety, which helps in catching errors early and provides an enhanced development experience.

  • What is the significance of server-side rendering in Next.js?

    -Server-side rendering in Next.js is significant because it allows the pages to be rendered on the server before being sent to the client, which can improve performance, SEO, and accessibility, as the content is fully rendered and available to search engines and assistive technologies.

  • What is the role of file-based routing in Next.js?

    -File-based routing in Next.js allows the framework to automatically create routes based on the file structure within the 'pages' directory. This means that any file or directory added to the 'pages' directory automatically becomes a route in the application.

  • How does Next.js handle code splitting?

    -Next.js handles code splitting automatically by default. It splits the code into smaller chunks that are only loaded when needed, improving the initial load time and reducing the overall bundle size.

  • What is the advantage of using Next.js for SEO?

    -Using Next.js for SEO is advantageous because of its server-side rendering capabilities, which allow the framework to generate static HTML for each page, making it easier for search engines to crawl and index the content.

  • What is the role of the 'Nitro' server engine in Next.js?

    -The 'Nitro' server engine in Next.js is a high-performance server engine that powers Next.js applications. It is designed to handle server-side rendering and is optimized for performance, ensuring that Next.js applications are fast and responsive.

  • What is the significance of the 'zero-config' feature in Next.js for TypeScript?

    -The 'zero-config' feature in Next.js for TypeScript means that developers can start using TypeScript without having to configure it manually. Next.js automatically sets up the necessary configurations, allowing developers to focus on writing code rather than setup.

  • How does Next.js support modular development?

    -Next.js supports modular development by allowing the use of various modules and integrations provided by the community. It has a concept of 'app directories' that can be used to modularize code, and it also supports the use of third-party modules like Tailwind CSS and others without extensive configuration.

Outlines

00:00

🌐 Introduction to Next.js Framework

The speaker begins by introducing Next.js, an open-source framework that simplifies web development. They mention that Next.js is known as 'the intuitive view framework' and has moved away from using 'e' in its version 3, focusing simply on 'Next' as the brand name. The framework is designed to be intuitive and powerful for creating high-performance web applications and websites. The speaker highlights that Next.js is a view framework, complementing other frameworks like React, and that it comes with features like server-side rendering, file-based routing, and support for TypeScript, which is beneficial for developers due to its type safety and auto-suggestion features.

05:02

πŸ› οΈ Next.js Features and Automation

The speaker discusses the features of Next.js, emphasizing its automation and convention-based approach to web development. They explain that Next.js uses a file-based routing system, where the file structure determines the routing, making it intuitive and reducing the need for manual configuration. Additionally, Next.js supports code splitting, server-side rendering, and automatic imports, which streamline the development process. The framework also includes utilities for data fetching and has zero-config TypeScript support, allowing developers to use TypeScript without additional configuration. The speaker also touches on the framework's use of Vite.js as its bundler, which is a modern alternative to Webpack.

10:03

πŸš€ Next.js Server-Side Rendering and Performance

The speaker elaborates on Next.js's server-side rendering capabilities, which improve SEO and accessibility by pre-rendering pages on the server. They mention that this feature allows for better performance and reduces the client-side JavaScript load. Next.js also comes with built-in support for image optimization and other utilities that aid in the development process. The speaker introduces 'Nitro', Next.js's server engine, which is a high-performance tool developed by the Next.js team. They also discuss the framework's production-readiness, highlighting the various deployment options and presets available for different hosting services.

15:04

πŸ”Œ Modularity and Ecosystem of Next.js

The speaker talks about the modular nature of Next.js and its ecosystem, emphasizing the availability of numerous community-built modules that can be easily integrated into projects. They mention specific modules like Tailwind CSS and Next.js's built-in image optimization module. The speaker also discusses the core packages of Next.js, including its CLI tool 'Naki', and the server engine 'Nitro'. They highlight the framework's architecture, which includes a core package, a bundler, and development kits, allowing for a focused and efficient development experience.

Mindmap

Keywords

πŸ’‘Next.js

Next.js is an open-source framework for building user interfaces and web applications. It is known for its intuitive and powerful features that simplify the development of web applications. In the video, Next.js is the main subject being discussed, highlighting its role as a modern framework for web development.

πŸ’‘Intuitive

The term 'intuitive' refers to something that is easy to understand or use without much effort or experience. In the context of the video, Next.js is described as an intuitive framework, meaning that it provides a straightforward approach to building web applications, making it accessible to developers.

πŸ’‘Framework

A framework in software development is a set of components or a platform that provides a foundation for creating applications. The video discusses Next.js as a framework that enhances web development by providing a structured and efficient way to build web applications.

πŸ’‘TypeScript

TypeScript is a programming language that builds on JavaScript by adding static types. It is mentioned in the video as being natively supported by Next.js, which helps developers benefit from type safety and other features that improve code quality and maintainability.

πŸ’‘Server-side rendering

Server-side rendering (SSR) is the process of generating HTML on the server before sending it to the client, which can improve performance and SEO. The video explains that Next.js supports SSR by default, allowing developers to leverage its benefits without additional configuration.

πŸ’‘Hot Module Replacement (HMR)

Hot Module Replacement is a feature that allows developers to see changes in their code without reloading the page during development. The video script mentions HMR as one of the features of Next.js, which enhances the development experience by providing instant feedback on code changes.

πŸ’‘Code splitting

Code splitting is a technique used in web development to split code into various bundles which can be loaded on demand. The video discusses how Next.js automatically performs code splitting, optimizing the loading of web applications by reducing the initial payload.

πŸ’‘Automation

Automation in the context of the video refers to the automatic handling of certain development tasks by Next.js. For example, file-based routing and automatic imports are mentioned, which streamline the development process and allow developers to focus on writing application logic.

πŸ’‘Convention over configuration

The phrase 'convention over configuration' suggests that a system is designed to follow certain best practices by default, reducing the need for extensive configuration. The video explains that Next.js adopts this approach, providing a set of conventions for directory structures and file naming that simplify the setup process.

πŸ’‘Modular

Modular refers to the design principle of creating a system with interchangeable parts or modules. The video mentions that Next.js has a modular architecture, allowing developers to integrate various modules and extensions to enhance their applications without modifying the core system.

πŸ’‘SEO

SEO stands for Search Engine Optimization, which is the process of improving a website's visibility on search engines. The video script discusses how server-side rendering in Next.js can improve SEO by allowing search engines to better index the content of web pages.

Highlights

Introduction to Next.js, an open-source framework for intuitive and powerful web development.

Next.js is a successor to React but does not require JavaScript, focusing on a more intuitive approach.

Next.js is designed to create high-performance web applications with a focus on developer experience.

The framework is intuitive and extendable, allowing for the creation of type-safe applications.

TypeScript is natively supported in Next.js, providing early error checking and auto-suggestions.

Hot Module Replacement (HMR) is available for an enjoyable development experience.

Server-side rendering is enabled by default in Next.js for improved SEO and performance.

Next.js uses conventions and opinions for directory structures to streamline the development process.

File-based routing simplifies the creation of URLs based on the file system.

Automatic code splitting is implemented to optimize the loading of web applications.

Support for server-side rendering enhances the accessibility and SEO of web applications.

Auto import feature reduces the complexity of importing functions and classes across files.

Data fetching utilities are built-in, simplifying the process of handling data retrieval.

Zero-config TypeScript support allows developers to use TypeScript without extensive configuration.

Next.js uses Vite.js as its bundler by default, offering faster development server and efficient production builds.

Server engine Nitro is used by Next.js for handling server-side operations efficiently.

Next.js is production-ready with various deployment options and presets available for different hosting services.

Modular architecture allows for easy integration with community-created modules and custom development.

Introduction to Next.js development kit for creating extensions and other development utilities.

Discussion on the core engine and the use of the 'next' command line interface for building and interacting with applications.

Exploration of the modular approach to themes, such as dark mode, in web application development with Next.js.

Transcripts

play00:00

Oke asalamualaikum warahmatullahi

play00:01

wabarakatuh balik lagi bersama saya di

play00:04

sini alviandwi Nugraha di seri belajar

play00:08

nakstri bahasa Indonesia so di episode

play00:11

pertama ini kita akan belajar tentang

play00:13

perkenalan Apa itu

play00:16

nakstri so kita akan coba next ya Nah

play00:20

pertama kali Eh sebelum memulai semuanya

play00:23

adalah kita berkenalan dulu apa sih itu

play00:27

next so kita coba ke website nya ya di

play00:30

na.com kalau teman-teman menuju ke

play00:32

nax.com di sini teman-teman akan

play00:34

menemukan t yang gede banget yaitu the

play00:37

intuitive view

play00:40

Framework Framework itu e salah satu t

play00:44

dari JS Ya udah dari n sebelumnya dan di

play00:48

sini n mutuhkan memutuskan untuk ggak

play00:51

pakai ini ya dia enggak pakai e e JS

play00:55

lagi tapi benar-benar doang gitu jadi

play00:58

meskipun kita nyebutnya di next versi 3

play01:00

tapi di sini dia udah enggak pakai itu

play01:02

jadi cuma next aja itu nama brandnya

play01:05

sekarang ya ganti Nah selanjutnya adalah

play01:07

di sini ada description ya NX is a open

play01:10

source Framework that makes web

play01:12

development intuitive and Powerful

play01:15

create performance and production

play01:18

grateful stack web apps and website with

play01:20

confidence Jadi intinya adalah Apa itu

play01:23

nnya next ini sebuah

play01:25

eh open source famebx ya frameb untuk

play01:29

memudahkan

play01:30

kita mengembangkan sebuah web dengan

play01:32

intuitif dan sangat powerful kenapa

play01:35

seperti itu nanti kita jelasin ya

play01:37

fitur-fiturnya

play01:38

Nah dan yang perlu digarisb adalah next

play01:42

itu adalah the intu Vi atau Vi atau

play01:48

framewor jadi bisa dibilang dia dia itu

play01:51

frame untuk untuk atau

play01:55

untuk jadi kan kita k sebagai Frame ya

play01:59

sedangkan next ini frameworknya view

play02:01

jadi double-dble Framework ya di sini

play02:04

jadi bisa dibilang next ini adalah eh

play02:06

dia tuu kayak view kalau ini analogi

play02:09

sederhana gua adalah next itu view yang

play02:12

diberikan banyak Tambahan lagi untuk

play02:15

kebetuhan m-evelop web karena kalau kita

play02:17

m-evelop web itu enggak ada sekedar

play02:19

tampilannya aja kan Tapi ada

play02:21

servernya ada pertukaran datanya dan

play02:24

sebagainya inilah KN hadir seperti

play02:27

lanjutnya adalah apa fitur n

play02:30

Mari kita coba cek dari website-nya

play02:32

langsung ya kita ke get started di

play02:35

bagian introduction kita akan coba baca

play02:38

goal dari n ini adalah untuk membuat web

play02:41

development secara intuitif dan

play02:44

performance with a GD developer

play02:46

experience in mind Oke jadi teman-teman

play02:50

catat aja ya kan Nah ini yang e kita

play02:53

coba bahas lagi no itu free karena dia

play02:57

emang open source dan dia ini ini

play02:59

intuitif and extendable way to create

play03:03

type self nah ini adalah kunci juga e

play03:08

untuk kita nanti ya karena di next itu

play03:10

benar-benar dijaga e type save-nya ini

play03:13

kalau teman-teman udah akrab dengan typ

play03:15

script atau e pengembangan jadii

play03:17

javascript ya itu benar-benar e di sini

play03:20

benar-benar Enak banget ya kan karena e

play03:23

kalau teman-teman tahu kan typ script

play03:25

itu dibuat untuk eh kita sebagai

play03:28

developer typ script itu tidak dibuat

play03:30

untuk eh klien kita tapi digunakan untuk

play03:33

mempermudah para developer yang

play03:35

menggunakan javascript eh karena dia ada

play03:37

tab safety-nya gitu ya Jadi kalau

play03:39

teman-teman enggak tahu Tab itu apa itu

play03:41

kayak apa ya Ketika teman-teman pakai

play03:43

teks Editor terus teman-teman nulis

play03:46

sesuatu kan itu biasanya ada auto

play03:47

suggestion-nya ya Nah itu adalah salah

play03:50

satu fitur dari eh Tab save juga jadi

play03:53

nanti bakalan keluar suggestion-nya

play03:54

kalau misalnya variabel ini string itu

play03:57

udah keluar kayak gitu-gitu dan Kita

play03:59

juga bisa mengecek eror secara Dini

play04:02

berkat bantuan types ya karena kita tahu

play04:05

kalau Oh variabel ini adalah string

play04:08

misalnya yang gak boleh diisi selain

play04:09

string Oh variabel ini number yang gak

play04:12

boleh diisi selain angka gitu kan Nah

play04:15

ini adalah tab saave ini nanti kita coba

play04:17

bahas Nah selanjutnya adalah karena dia

play04:20

memakai vigs tentunya

play04:24

kita dibuat untuk menulis jadi

play04:27

teman-teman bisa nulis view file from

play04:30

the begin enjoy hot mod Replacement jadi

play04:32

di juga udah ada hmrnya yang bagus

play04:35

banget untuk development kita dan dia

play04:38

sudah dan dia juga server rendering by

play04:41

default ya by default nanti pres ini ada

play04:44

server rendering ini juga nanti kita

play04:46

bahas Nah selanjutnya kita coba bahas

play04:48

fitur-fitur dasar yang ada di gitu ya

play04:51

yang dihlight oleh yang pertama adalah

play04:53

bagian automation and Convention di sini

play04:57

next use convention and

play05:01

repe jadi di

play05:03

sini tim dari yang bikin itu mengklaim

play05:07

bahwa mereka itu udah punya

play05:09

conventionnya dia juga mereka juga punya

play05:12

opinion

play05:14

opinion atau opini untuk directory

play05:19

struurnya yang mereka desain sedemikian

play05:22

rupa mereka riset

play05:25

untukom repe Jadi kalau ada beberapa

play05:30

repetitif ya tindakan yang

play05:31

berulang-berulang tuh biar enak gitu dan

play05:34

di sini Mereka mengklaim bahwa allow

play05:37

developer to focus jadi biar Para

play05:39

pengembang seperti kita fokus untuk

play05:41

mengerjakan fiturnya udah enggak mikirin

play05:44

lagi struure directorynya atau

play05:46

conventionnya atau convention itu kayak

play05:49

apa ya kayak kayak ketetapan apa ya

play05:51

kayak style peraturan untuk

play05:53

nulis-nulisnya itu enggak kita perlu e

play05:55

pikirin lagi kayak misalnya penamaan

play05:57

folder harus gimana harus besar atau

play05:59

gimana kita nyimpan file ini di mana

play06:01

kayak gitu-gitu itu termasuk dari

play06:03

convention

play06:04

ya Nah selanjutnya ini adalah yang

play06:07

diutomation oleh n apa aja yang pertama

play06:10

adalah file base routing Eh ini adalah

play06:14

salah satu fitur di Na dan aku rasa di

play06:16

beberapa Framework sebelah juga kayak

play06:18

gitu ya Jadi apapun yang kita tulis di

play06:20

folder page itu nanti langsung jadi

play06:23

routing kita jadi routing tu apa

play06:26

routingnya kayak ini nih

play06:28

n.com/documen/ getting started/

play06:30

introduction nah ini ini termasuk root

play06:32

ya jadi Eh misalnya nih kita punya

play06:36

folder a di dalam folder a itu ada file

play06:39

B nah itu sama n otomatis dibikin

play06:42

routing jadi eh dari folder B terus di

play06:45

dalamnya ada folder eh sori dari folder

play06:48

dari file B yang ada di folder A itu

play06:51

eh n akan otomatis membuatkan routingnya

play06:55

menjadi SLB sori/ a/b jadi jadi nanti

play06:59

teman-teman mengakses halaman itu itu

play07:01

pakai SL a/b karena file B ada di folder

play07:05

A jadi itu udah otomatis jadi itu kayak

play07:08

kayak web web pada umumnya lah ya kayak

play07:10

kita bikin web eh tradisional web kan

play07:12

juga gitu kita bikin index.html eh atau

play07:17

about.hxtml itu kan juga disimpan di

play07:19

dalam folder maka Apa yang harus kita

play07:22

akses melalui URL itu juga harus ee

play07:25

sesuai dengan foldernya Nah itu sama di

play07:27

juga seperti itu lalu ada kode splitting

play07:30

jadi apapun yang kita tulis di itu

play07:32

otomatis di e splitting code Jadi

play07:34

teman-teman udah enggak perlu mikirin

play07:37

cara ngoptimiz-nya lagi ya karena by

play07:39

default ini udah dikerjain sama NX

play07:42

selanjutnya adalah dia sudah support

play07:44

server side

play07:46

rendering Jadi kita gak perlu share up

play07:49

server lagi teman-teman jadi nanti kita

play07:50

akan bahas ya Dan ini serverver

play07:53

rendering ya Jadi bukan hanya

play07:56

e bukan hanya datanya dikelola melalui

play07:59

server kayak kita biasanya kan terhubung

play08:00

ke server pakai rful apa atau pakai

play08:04

apalah gitu ya grabql atau apa Nah ini

play08:06

server rendering enggak hanya pertukaran

play08:09

datanya tapi halamannya ketika kita

play08:12

akses itu juga dirender dulu di sisi

play08:14

server baru ditaruh ke klien jadi e nuda

play08:19

udah mendukung itu dan ini secara

play08:20

default selanjutnya adalah auto import

play08:23

beberapa Build in V GS eh dan nnya juga

play08:28

itu udah Auto impimport teman-teman Jadi

play08:29

teman-teman enggak usah mikirin lagi

play08:31

cara ngeimpornya ya kalau teman-teman

play08:33

bikin biasanya kan teman-teman bikin ee

play08:36

di javascript itu kan kalau banyak

play08:39

library banyak Eh kode splitting ya

play08:41

Misalnya teman-teman eh fungsi ini

play08:43

diletakkan di file ini fungsi ini D di

play08:45

file ini itu kan ngeimpornya banyak

play08:47

banget Tapi dix itu karena sudah ada

play08:50

standarisasi directory structure dan itu

play08:53

udah auto import Jadi teman-teman enggak

play08:56

usah bingung-bingung langsung ee

play08:58

import-import lagi karena sudah auto

play08:59

impimport jadi teman-teman langsung

play09:01

Tuliskan aja nama-nama function atau

play09:03

class yang sudah di e tulis di file-file

play09:06

lain ya selama mengikuti eh gu eh guide

play09:11

dari directory structure di nax ini

play09:14

selanjutnya adalah data fetching utility

play09:16

ini sebenarnya udah mungkin di beberapa

play09:18

frameb lain juga udah ada ya jadi n juga

play09:21

menyediakan eh utilitas eh default untuk

play09:26

men-handle data fetching jadi enggak

play09:29

usah mikirin cara ng-fatching data lagi

play09:31

karena sudah ada eh fungsi buildin-nya

play09:35

ya yang dikasih nak Lalu ada Zero config

play09:38

typ script support jadi teman-teman

play09:39

kalau mau pakai typ script udah langsung

play09:41

pakai aja enggak perlu ngatur-ngatur

play09:42

lagi repot-repot ya Zero config ini

play09:44

istilah untuk e kayak kita langsung

play09:47

pakai aja enggak usah ribet-ribet itu

play09:49

bisa langsung kita pakai tanpa harus

play09:50

config ribet-ribetnya ya Meskipun kalau

play09:52

teman-teman ingin yang lebih ini ya

play09:54

tetap harus ng-config typ script-nya

play09:57

juga gitu ya tapi ini secara default

play10:00

Udah ada udah support gitu selanjutnya

play10:02

adalah configurateolnya dia pakai vtjs

play10:05

ya kalau Sebelumnya kan ada dia pakai

play10:07

webpack tapi di n yang terbaru ini dia

play10:10

udah pakai vtjs dan vtjs ini sebenarnya

play10:14

dia juga udah dia support dua ya webpack

play10:16

sama VT jadi teman-teman Terserah Tapi

play10:18

secara default dia aktifnya pakai VT

play10:20

gitu VT jsnya sebagai bundlernya dan ini

play10:24

udah bukan hal yang wow ya karena

play10:27

sekarang kita pasti udah pakai

play10:29

buil tool atau bundler tool kayak vtjs

play10:33

atau webp atau beberapa bundler lainnya

play10:37

nah ini yang kita bahas sekarang yaitu

play10:38

server rendering itu support server

play10:42

rendering bahkan secara default dia

play10:44

aktif sebagai server side

play10:46

rendering

play10:48

ya keuntungan kita pakai server

play10:52

rendering adalah

play10:55

ya karenaak semuaak semu komponen itu

play10:59

dibuil di klien enggak Tapi diender dulu

play11:02

di server baru dikasih ke klien

play11:04

setengahnya selanjutnya adalah CEO ya

play11:07

ini kalau kita ngdevelop web pasti nanti

play11:10

kalau kita deploy ujung-ujungnya kita

play11:12

repot sama CEO tapi di ini karena dia

play11:15

udah server rendering ya kita bisa nulis

play11:20

metadataadata untuk Set engine ya Set

play11:22

engine optimiz jadi kita bisa e kalau

play11:25

kita cuman pakai view JS aja kan dia gak

play11:28

ada rendering ya jadi cuma klien doang

play11:31

seo-nya juga enggak bisa jelek gitu ya

play11:33

Tapi kalau pakai ini karena dia udah

play11:34

server set rendering ya kita bisa taruh

play11:37

metadatanya untuk dirender di server

play11:39

jadinya eh se engine-nya lebih Oke jadi

play11:42

kayak misalnya Google itu kalau

play11:44

nge-scrap atau ngcrawler web kita jadi

play11:47

lebih bagus lagi jadi web kita bisa

play11:51

dengan mudah dan ini juga disediakan

play11:53

utilitasnya bahkan sama jadi kita

play11:55

tinggal pakai

play11:56

aja mudah banget pokoknya selanjutnya

play11:59

adalah better performance ini kayaknya

play12:01

enggak usisa dibahas ya mungkin ya ini

play12:03

bisa dibilang Ya biasalah ya E ini bukan

play12:07

hal yang wow lagi di sini katanya dia

play12:09

bisa ngreduce eh javascript karena tadi

play12:12

kan diplit-sit Tuh jadinya apapun yang

play12:15

dilakukan di klien itu katanya dia

play12:17

enggak terlalu banyak jadi dia enggak

play12:19

memberatkan

play12:22

gitu dan dia juga punya better

play12:26

accessibility karena karena dia kan

play12:29

server rendering ya dia dirender dulu di

play12:31

server jadinya itu ngimprove

play12:36

accessibilitynya apalagi dengan orang

play12:38

yang kebutuhan khusus nanti kita juga

play12:40

bisa bahas lagi ya kalau teman-teman mau

play12:42

ada eing juga

play12:45

jadi beberapa halaman tuh udah di di

play12:49

sisi server jadi gak semuanya kok

play12:51

dirender men-men jadi misalnya ada 100

play12:53

user nih satu halaman tadi yang dirender

play12:56

Diver jugaak secara terusmenerus kok ada

play12:58

berapa chating yang diterapkan oleh n

play13:01

jadi teman-teman ggak perlu merasa Oh

play13:03

bakal berat dong Enggak dia juga punya

play13:05

mekanisme chating tersendiri seperti itu

play13:09

Itulah server setnya ya Dan kita bahas

play13:12

adalah server engine nah Karena kan dia

play13:15

punya server set Sekarang kita akan cari

play13:18

tahu next ini kan front endnya dia pakai

play13:21

view nah dia punya server set itu dari

play13:24

mana ternyata dia punya server

play13:25

engine-nya dan di sini itu pakai server

play13:28

engine nya itu Nitro namanya nah Nitro

play13:30

ini kalau kita lihat dia itu libary yang

play13:33

dibikin oleh tim NX juga dan Nitro ini

play13:37

emang semacam e apa semacam tools server

play13:41

engine gitu kayak Express JS atau apapun

play13:44

itu gitulah untuk membuat server

play13:46

engine-nya mereka gitu Dan nanti kita

play13:48

juga kalau mau bikin apa juga bisa pakai

play13:50

Nitro ini nanti ya itu nanti karena

play13:52

Nitro ini secara default udah udah

play13:54

melekat sama knx karena dia emang jadi

play13:57

server engine-nya n dan BTW Nitro JS

play14:00

juga ini bukan dia bukan Zero ini ya

play14:03

tapi kalau kita lihat ternyata Nitro itu

play14:05

pakai X3 X3 juga Sama ya dia dibuatnya

play14:08

sama tim E N juga dari ini unjs nih bisa

play14:12

lihat dan Nitro ada X3 jadi sama aja

play14:15

exra ini versi minimalnya dari Nitro gu

play14:18

Nah kita kita balik lagi di sini jadi by

play14:22

default eh halaman nanti teman-teman

play14:25

juga bakal dihandle sama Nitro terus

play14:28

nanti kita ketika bikin rful F juga

play14:30

nanti pakai nitle juga gitu Jadi kita

play14:33

Tenang aja nanti kita bahas juga Sonya

play14:35

adalah production ready e Timnas juga

play14:37

udah mikirin production-nya dia udah

play14:39

bikin cara ng-deploy banyak banget nih

play14:42

teman-em bisa lihat ya Tinggal pilih aja

play14:43

mau pakai deploy apa mereka udah

play14:46

nyediain juga e cara-caranya tinggal

play14:49

kita pilih sesuaikan dengan kebutuhan

play14:51

kita nanti kita mau hosting di mana Itu

play14:54

udah ada gitu ya di dipl pun Nah ini dia

play14:56

juga udah nyediain preset-pretnya Kayak

play14:58

misalnya di amplify netlify vers lain

play15:01

yang terkenal nih gitu Ini aws Ya

play15:03

amplify itu Nah selanjutnya adalah

play15:06

modular y kita tahu bahwa next itu punya

play15:10

keunggulan di ekosistemnya ya jadi next

play15:12

itu punya eh modul modul konsepnya

play15:15

sendiri jadi kalau teman-teman bisa

play15:17

lihat di sini di integration di modul ya

play15:19

di website-nya Nah di sini tersedia

play15:21

banyak banget modul yang udah dibikin

play15:23

oleh community dari NX jadi teman-teman

play15:26

kalau mau misalnya pakai tilwin misalnya

play15:28

ya ya ini kan salah satu

play15:30

ee apa Atomic CSS yang target sekarang

play15:34

ya pakai Twin CSS itu bisa ini udah

play15:37

disediain teman-teman tinggal instal aja

play15:39

ini modulnya tinggal dipakai kelar

play15:42

teman-teman enggak usah ngeinstal atau

play15:44

ngconfig Elwin dari awal lagi

play15:46

berkali-kali itu enggak perlu karena di

play15:48

next itu udah ada konsep modul ya dan

play15:51

teman-teman juga bisa bikin modul

play15:52

teman-teman sendiri nah ini enaknya NX

play15:54

JS ya dia juga ada modul-modul yang

play15:57

kayak image ini ya untuk melakukan

play15:59

optimisasi banyak modul-modul yang

play16:02

benar-benar ngebantu kita para developer

play16:04

jadi kita fokus banget sama apa yang

play16:06

kita kerjakan karena semua modul

play16:08

beberapa Udah disiapin gitu ya Kal Dark

play16:10

mode ini color mode buat ngatur tema di

play16:12

web ya kalau teman-teman mau webnya

play16:14

punya

play16:15

tema itu modular ya selanjutnya adalah

play16:18

ini arsitekturnya ya dia pakai core

play16:20

engine-nya e ini Core Core package-nya

play16:22

nanti teman-teman pasti akan berkenalan

play16:24

ya Eh package dari cor-nya itu ya ya Na

play16:29

itu sendiri terus bundlernya dia punya

play16:31

dua Ya seperti yang gua bilang tadi dia

play16:32

punya VT Builder sama wpack Builder

play16:35

terus comand line-nya itu dia namanya

play16:37

Naki jadi nanti kalau teman-teman e

play16:40

nanti ada juga ini Naki itu kayak comon

play16:42

l up interface-nya nak jadi udah

play16:44

disediain kalau teman-teman mau

play16:46

berinteraksi kayak ngeren e kayak ngbuil

play16:49

apa itu bisa pakai ni ya Bahkan bisa

play16:52

bikin beberapa nanti kita bahas ya

play16:54

selanjnya server engine-nya pakai nitral

play16:57

development kitnya itu pakai kit jadi

play16:59

nanti kalau teman-teman ngdevelop kayak

play17:00

extension dan lain sebagainya itu nanti

play17:02

e pakai next kit ini gitu ya oke itu aja

play17:07

introduction-nya ya teman-teman ya

play17:09

lanjut ke bagian berikutnya ya

play17:11

kita

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Next.jsWeb DevelopmentOpen SourceIntuitive UIPerformanceTypeScriptServer RenderingHot Module ReplacementSEO OptimizationModular Design