• Learning
  • Courses
  • Pincode
    • ...
      Sign in
กลับ

Front-End (React.JS)

ผู้เรียน 20 คน
รีเซ็ตบทเรียน
คุณยืนยันที่จะเริ่มต้นบทเรียน Front-End (React.JS) ใหม่ทั้งหมด
สำเร็จ
เกิดข้อผิดพลาด

หมายเหตุ คุณยังไม่ได้สังกัดอยู่ในสถานศึกษาจะไม่สามารถรับใบรับรอง (Certificate) ได้หลังจากจบคอร์ส กรุณาติดต่อครูผู้สอนเพื่อพาเข้าสถานศึกษา

เกี่ยวกับคอร์สนี้
                                

Syllabus for React.js

Orientation เป้าหมายและการวางแผนการเรียน 

  • React คืออะไร 

  • อาชีพที่สามารถต่อยอดได้

  • การใช้งาน ChatGPT เพื่อแก้ไขปัญหา

  • วางแผนการเรียนรู้

ทบทวน javaScript and Learning path

Functional programming

  • Functional Programming คืออะไร ?

  • ทำไมต้อง Functional Programming?

  • Shorthand Syntax

  • The Ternary Operator

  • Short-circuit Evaluation Shorthand

  • Declaring Variables Shorthand

  • Arrow Function – หลาย parameters

  • Arrow Function – parameter เดียว

  • Arrow Function – ไม่มี parameter

  • Arrow Function – Return Object

  • Multi-line String Shorthand

  • Template Literals

  • Destructuring Assignment Shorthand

  • Spread Operator - Array

  • Spread Operator - String

  • Spread Operator - Combine / Merge / Concat Array

  • Lab 1 - Shorthand Syntax

  • Functional Programming

  • Array.map Function

  • Array.map คืออะไร?

  • Array.map - เบื้องหลังการทำงาน

  • ตัวอย่างการใช้งาน Array.map

  • ตัวอย่างการใช้งาน Array.map - shorthand

  • Array.map - Example 2

  • Array.map - Example 3

  • Lab 2: Array.map

  • Array.filter Function

  • Array.filter คืออะไร?

  • Array.filter - เบื้องหลังการทำงาน

  • ตัวอย่างการใช้งาน Array.filter

  • Array.filter - Example 2

  • Array.filter - Example 3

  • Lab 3: Array.filter

  • Array.reduce คืออะไร

  • Array.reduce - เบื้องหลังการทำงาน

  • ตัวอย่างการใช้งาน Array.reduce

  • Lab 4: Array.reduce

  • Chaining คืออะไร?

  • ตัวอย่างการเขียน Chaining

  • ตัวอย่างการใช้งาน Chaining

  • Lab 5: Chaining

  • Link ที่น่าสนใจ

  • Key Takeaways

  • Homework


React เบื้องต้น 

  • React JSX

  • React คืออะไร

    • SPAs

    • Virtual DOM

    • Components Base

  • การ Setup สำหรับการเขียน React

  • Element

  • JSX คืออะไร

    • ข้อกำหนด JSX

    • การเพิ่ม CSS ใน JSX (Styling ใน React)

    • การใส่ CSS แบบ Inline

    • การใส่ CSS แบบ Plain CSS

    • Mini Workshop: เพิ่ม CSS ให้ Component

    • Expression

    • JavaScript expression มีอะไรบ้าง

    • Ternary

    • การนำอาเรย์มาผ่าน map ฟังก์ชันทำให้เป็น Element

    • JSX คืออะไร? – การนำอาเรย์มาผ่าน map ฟังก์ชันทำให้เป็น Element

    • การคำนวณทางคณิตศาสตร์

    • การใช้ฟังก์ชัน

    • JavaScript Expression บางตัวก็ไม่สามารถแสดงผลหน้าเว็บได้

  • Components

    • Components คืออะไร

    • Function Component 

    • Class Component 

  • Component VS Element

  • การส่งข้อมูลผ่าน Props

  • Events 

    • Events คืออะไร

    • การ Setup สำหรับการเขียน React

    • การใส่ Event ใน React

    • การใส่ Function ใน Event

  • State

    • State คืออะไร

    • วิธีการใช้ State

      • Import

      • เรียกใช้งาน

      • ข้อควรระวังของ useState

      • นำ State ไปใช้งาน

      • การเปลี่ยนค่า State โดยใช้ setState

      • คอนเซปต์ของ State ที่ต้องรู้

  • Form

    • Form คืออะไร

    • Input Form

  • คอนเซปต์ Lifting State Up


React conditional rendering

  • Introduction to React conditional rendering

    • If-else

    • && (inline if ด้วย && operator)

    • ? : (ternary operator)

    • การไม่ให้ component render ใดๆ

  • การแสดงข้อมูล Array

  • Key

  • HTML DOM

  • ประเภทของ component

    • Controlled component

    • Uncontrolled component

    • Controlled vs Uncontrolled Component



React Router

  • Routing คืออะไร

  • การติดตั้ง Router

  • Rendering routes

  • การใช้งาน router ในการเปลี่ยนหน้าต่างๆ 

  • การใช้งาน Route parameters

  • การเปลี่ยน Route โดยการเขียนโค้ด

  • Redirect

  • การกำหนดเงื่อนไข/อนุญาติให้เข้าถึงในบาง Route

  • Router Hooks

    • useHistory

    • useParams

    • useLocation

Workshop on site: 


JSON, HTTP และ Axios

  • หลักการการเชื่อมต่อ Frontend กับ Backend

  • JSON คืออะไร

  • ความแตกต่างระหว่าง JSON กับ Object

  • ตัวอย่างของ JSON

  • JSON with Table Structure

  • JSON functions

  • JavaScript

  • Callback function คืออะไร

  • Function as variable or call

  • Pass function not value

  • ตัวอย่าง Callback

  • Function as parameters

  • Why do we use callback?

  • API คืออะไร

  • ทบทวนหลักการเชื่อมต่อ Frontend กับ Backend

  • ประโยชน์ของ API

  • ตัวช่วยอ่าน Data จาก API (JSON)

  • Request API

  • Response API

  • Axios

  • HTTP Request

  • HTTP Request Type

  • How to install Axios

  • Axios - Get Example

  • Anonymous function

  • Axios - Get with Parameters 

  • Axios - POST Example

  • Axios as function

  • Axios as callback


Promise, Async, and Await

  • Synchronous, Asynchronous ในโลกของ Programming

    • Synchronous คืออะไร

    • Asynchronous คืออะไร

    • การ run instructions ใน Javascript ในรูปแบบ Asynchronous

  • Asynchronous Build-in function in JavaScript

    • เหตุผลและประโยชน์ของการเข้าใจ Asynchronous Build-in function

    • Explore Build-in function - setTimeout 

  • การทำงาน Asynchronousในรูปแบบต่างๆ

    • แบบคู่ขนาน ( parallel )

    • แบบต่อเนื่องตามลำดับ ( sequential ) 

  • การจัดการ Asynchronous ใน ภาษา Javascript

    • Traditional way

      • Call back function

      • ปัญหาของ Call back function

    • Modern way

      • Promise

        • Promise คืออะไร

        • ประโยชน์ของ Promise

        • Consuming Promise จาก API 

        • จัดการ Promise function ด้วย .then, .catch

        • สร้าง Promise Object ด้วย new Promise

        • Reuse Promise code

        • Sequential Promise

      • Async, await

        • async, await คืออะไร

        • ประโยชน์ของ Async, await

    • ดัก catch ด้วย try, catch statement

    • Consuming API โดยใช้ async await

  • Dive deeper into Promise

    • Promise status

    • จัดการ Parallel Promise ด้วย Promise.all


Workshop on site: 


React Hook

  • การใช้ useEffect

  • Side Effect คืออะไร?

  • การใช้ useReducer

  • useReducer vs useState

  • React context

    • ข้อจำกัดของ Context

  • เรื่องเพิ่มเติมของ Hooks

  • กฏของฟังก์ชัน Hooks


Workshop on site: 


React Form validation

  • Introduction to Form Validation in React

    • Understanding the importance of form validation.

    • Basic concepts: controlled components, state management.

  • Controlled Components:

    • Overview of controlled components in React.

    • Managing form data with state.

    • Handling form input changes with onChange event.

  • Basic Validation Techniques:

    • Required fields validation.

    • Conditional rendering of error messages.

    • Displaying error messages based on form state.

  • Email Validation:

    • Using regular expressions for basic email validation.

    • Displaying email-related error messages.

  • Password Validation:

    • Setting minimum password length.

    • Displaying password-related error messages.

  • Form Submission

    • Handling form submission using the onSubmit event.

    • Preventing default form behavior.

    • Logging form data to the console.

  • Validation on Submit:

    • Validating the entire form on submission.

    • Displaying a summary of errors.

  • Formik Library:

    • Introduction to the Formik library for form management.

    • Simplifying form validation with Formik.

  • Yup Schema Validation:

    • Integrating Yup for schema-based validation with Formik.

    • Advanced validation rules using Yup.



React Redux

  • State management

    • ประเภทของ state ใน Application 

    • state management คืออะไร

    • ทำไมถึงต้อง มี tool มาช่วยmanage state

      • ปัญหาของการส่ง prop

  • redux 

    • redux structure 

    • Store

    • Dispatch

    • Action

    • Reducer

  • React redux

    • store provider

    • useSelector

    • useDispatch

    • useStore

  • Dive deeper into React redux

    • useSelector vs useStore

    • shallow equal

Workshop onsite: Redux คิดโปรเจคอีกครั้ง

Final Project: 

หลักสูตร
1
Orientation
ขยายส่วน
  • 01.ภาพรวมของโครงการทั้งหมด
  • 02.What we learn?
  • 03.ตารางเรียน
  • 04.วิธีส่งการบ้าน
  • 05.อาชีพที่ต่อยอดได้
  • 06.กติกาการได้รับ cerificate
2
Git version control
ขยายส่วน
  • Slide
  • 1.Gt
  • 2.Git คืออะไร_
  • 3.Why we learn_
  • 4.Git Basic
  • 5.คำสั่งที่ใช้บ่อย
  • 6.สถานะของ File Git
  • 7.Git Ignore
  • 8.Git Comment
  • 9.Git Setup
  • 10.Git Lab1 Git
  • 11.Git Lab 2
  • 12.Git Lab 3
  • 13.Git Key Takeaways
3
ChatGPT for Dev
ขยายส่วน
  • Slide
  • 01. ChatGPT for Dev
  • 02.ตรวจสอบ syntax
  • 03.คุณสมบัติ
  • 04.ChatGPT e-Commerce
  • 05. ChatGPT 3.5 vs 5
  • 06. Key Take away
4
ทบทวน javaScript
ขยายส่วน
  • 00.Slide
  • 01.ทบทวน javaScript
  • 02.Components in Web page Design
  • 03.Why we learn javaScript
  • 04.variable declaration
  • 05.Google Chrome Developer Tool
  • 06.Variable Data
  • 07.Array and Object
  • 08.Lab
  • 09.Function
  • 10.Lab
  • 11.Function ที่ใช้งานบ่อย
  • 12.Lab
  • 13.splice
  • 14.การใส่ javaScript ใน html
  • 15.Lab
  • 16.Document Object Model (DOM)
  • 17.HTML DOM
  • 18.HTML selectormp4
  • 19.Lab
  • 20.การใช้งาน Callback Func
  • 21.Event
  • 22.DOM
  • 23.หมวดหมู่ของ Event
  • 24.Lab
  • 25.การ Debug ใน javaScript
  • 26.Lab
  • 27.สรุป syntax
5
Functional Programming
ขยายส่วน
  • 00.Slide
  • 00.Functional Programming Introduction
  • 01.Functional Programming คืออะไร ทำไมต้อง Functional Programming
  • 02.Shorthand Syntax_The Ternary Operator – Short-circuit Evaluation – Declaring Variables
  • 03.Arrow Function_หลาย parameters – parameter เดียว – ไม่มี parameter – Return Object
  • 04.Multi-line String Shorthand – Template Literals – Destructuring Assignment
  • 05.Spread Operator – Array – String – Combine Merge Concat Array
  • 06.Lab 1 – Shorthand Syntax
  • 07.Functional Programming_Array.map Function
  • 08.Functional Programming_Array.map – เบื้องหลังการทำงาน
  • 09.Functional Programming_ตัวอย่างการใช้งาน Array.map – shorthand
  • 10.Functional Programming_Lab 2 Array.map
  • 11.Functional Programming_Array.filter Function
  • 12.Functional Programming_Array.filter - เบื้องหลังการทำงาน
  • 13.Functional Programming_.Lab 3 Array.filter
  • 14.Functional Programming_Array.reduce Function
  • 15.Functional Programming_Array.reduce – เบื้องหลังการทำงาน
  • 16.Functional Programming_ตัวอย่างการใช้งาน Array.reduce
  • 17.Functional Programming_Lab 4 Array.reduce
  • 18.Chaining คืออะไร และตัวอย่างการใช้งาน
  • 19.Lab 5 Chaining
  • 20.Link ที่น่าสนใจ
  • 21.Key Takeaways
  • 22.Homework
6
React เบื้องต้น
ขยายส่วน
  • 3.0 Slide
  • 3.1 Introduction to React-
  • 3.2 React คืออะไร
  • 3.3 การ Setup สำหรับการเขียน React
  • 3.4 Mini Workshop- อธิบายโครงสร้างของ React
  • 3.5 Element
  • 3.6 JSX คืออะไร
  • 3.7 ข้อกำหนด JSX
  • 3.8 การเพิ่ม CSS ใน JSX (Styling ใน React)
  • 3.9 การใส่ CSS แบบ Inline
  • 3.10 การใส่ CSS แบบ Plain CSS Stylesheet
  • 3.11 Mini Workshop- เพิ่ม CSS ให้ Component
  • 3.12 Expression
  • 3.13 JavaScript expression มีอะไรบ้าง
  • 3.14 JSX Expression ที่ไม่สามารถแสดงบนหน้าเว็บได้
  • 3.15 Ternary
  • 3.16 การใช้ && กับ -- Operator
  • 3.17 การคำนวณทางคณิตศาสตร์
  • 3.18 การใช้ฟังก์ชัน
  • 3.19 JSX Expression - การลูปแสดง Array ด้วย map()
  • 3.20 Components คืออะไร
  • 3.21 Function Component
  • 3.22 Class Component
  • 3.24 Mini Workshop- สร้าง components ตามเว็บตัวอย่าง-001-001
  • 3.23 Component VS Element
  • 3.25 การส่งข้อมูลผ่าน Props
  • 3.26 React Events
  • 3.27 React Events คืออะไร
  • 3.28 การใส่ Event ใน React
  • 3.29 การใส่ Function ใน Event
  • 3.30 React Event Object
  • 3.31 Mini Workshop- เพิ่มปุ่ม Like ในแต่ละ Post
  • 3.32 React State
  • 3.33 State คืออะไร
  • 3.34 การกำหนดค่าเริ่มต้น State
  • 3.35 การใช้งาน State
  • 3.36 การเปลี่ยนค่า Object และ Array ใน State
  • 3.37 Mini Workshop- เพิ่มปุ่ม Like, Love ในแต่ละ Post พร้อมกับ States
  • 3.38 การจัดการ Form
  • 3.39 การเพิ่ม form ใน react
  • 3.40 Mini Workshop- เพิ่ม input สำหรับการค้นหา posts
7
React conditional rendering
ขยายส่วน
  • 4.0 Slide
  • 4.1 Introduction to React conditional rendering
  • 4.2 If-else
  • 4.3 && (inline if ด้วย && operator)
  • 4.4 - - (ternary operator)
  • 4.5 การไม่ให้ component render ใดๆ
  • 4.6 การแสดงข้อมูล Array
  • 4.7 Key
  • 4.8 HTML DOM
  • 4.9 ประเภทของ component
  • 4.10 Controlled component
  • 4.11 Uncontrolled component
  • 4.12 Controlled vs Uncontrolled Component
  • 4.13 Key Takeaways
  • 4.14 Homework
  • 4.15 Lab1 - If-else Inline ternary operator
  • 4.16 Lab2 - map array
  • 4.17 Lab3 - Controlled Uncontrolled
8
React Router
ขยายส่วน
  • 5.0 Slide
  • 5.1 Routing คืออะไร
  • 5.2 การติดตั้ง Router
  • 5.3 Rendering routes
  • 5.4 การใช้งาน Route parameters
  • 5.5 การเปลี่ยน Route โดยการเขียนโค้ด และ การใช้งาน router ในการเปลี่ยนหน้าต่าง ๆ
  • 5.6 Redirect และ การกำหนดเงื่อนไข-อนุญาติให้เข้าถึงในบาง Route (แก้ไข)
  • 5.7 Router Hook
  • 5.8 Router Hook - User Navigate
  • 5.9 Router Hook - Use Params
  • 5.10 Router Hook - Use Location
  • 5.11 Key Takeaways
  • 5.12 Homework
  • 5.13 Homework 1
  • 5.14 Homework 2
  • 5.15 Lab การติดตั้ง (แก้ไข)
  • 5.16 Lab Nestad route
  • 5.17 Lab การใช้งาน Route Parameter และ Link
  • 5.18 Lab Redirect error page
9
JSON, HTTP และ Axios
ขยายส่วน
  • 9.0 Slide
  • 9.1 เนื้อหาที่เรียนในวันนี้
  • 9.2 การการเชื่อมต่อ Frontend เข้ากับ Backend
  • 9.3 JSON คืออะไร
  • 9.4 ความแตกต่างระหว่าง JSON กับ Object
  • 9.5 JSON ในการเชื่อมต่อ ระหว่าง Frontend กับ Backend
  • 9.6 ฟังก์ชันที่ใช้กับ JSON
  • 9.7 ฟังก์ชัน JSON.stringify
  • 9.8 ฟังก์ชัน JSON.parse
  • 9.9 สรุป ฟังก์ชัน JSON
  • 9.10 Key Takeaways - JSON
  • 9.11 Lab - JSON
  • 9.12 HTTP Protocol
  • 9.13 HTTP Requests
  • 9.14 HTTP Methods
  • 9.15 HTTP Methods - Example 1
  • 9.16 HTTP Methods - Example 2
  • 9.17 HTTP Headers
  • 9.18 HTTP Body
  • 9.19 HTTP Response
  • 9.20 HTTP Response - Example 1
  • 9.21 HTTP Response - Example 2
  • 9.22 HTTP Status
  • 9.23 HTTP Status - Examples
  • 9.24 Key Takeaways - HTTP
  • 9.25 Lab - HTTP Protocol
  • 9.26 Axios คืออะไร
  • 9.27 การติดตั้ง Axios ใน React Project
  • 9.28 Axios - การทำงาน
  • 9.29 Axios - Example GET การเรียกอ่านข้อมูล
  • 9.30 Axios - Example GET แบบมี Parameters
  • 9.31 Axios - Example POST แบบมี Body
  • 9.32 Parameters
  • 9.33 Key Taleaways - Parameters
  • 9.34 Lab - Axios
  • 9.35 Lab - HTTP
10
Promise Async Await
ขยายส่วน
  • 10.0 Slide
  • 10.1 เนื้อหาที่จะเรียนในวันนี้
  • 10.2 Synchronous, Asynchronous ในโลกของ Programing
  • 10.3 Synchronous คืออะไร
  • 10.4 Asynchronous คืออะไร
  • 10.5 การ run instructions ใน Javascript ในรูปแบบ Asynchronous
  • 10.6 Key Takeaways
  • 10.7 Asynchronous Build-in function in JavaScript
  • 10.8 เหตุผลและประโยชน์ของการเข้าใจ Asynchronous Build-in function
  • 10.9 Explore Build-in function - setTimeout (แก้ไข)
  • 10.10 Key Takeaways
  • 10.11 การทำงาน Asynchronousในรูปแบบต่างๆ
  • 10.12 การจัดการ Asynchronous ใน ภาษา Javascript
  • 10.13 ปัญหาของ Call back function
  • 10.14 Modern way
  • 10.15 Promise
  • 10.16 ประโยชน์ของ Promise
  • 10.17 Consuming Promise จาก API
  • 10.18 สร้าง Promise Object ด้วย new Promise
  • 10.19 Reuse Promise code
  • 10.20 Sequential Promise
  • 10.21 Async, await
  • 10.22 ประโยชน์ของ Async, await
  • 10.23 ดัก catch ด้วย try, catch statement
  • 10.24 Key Takeaways
  • 10.25 Consuming API โดยใช้ async await
  • 10.26 Dive deeper into Promise
  • 10.27 Promise status
  • 10.28 จัดการ Parallel Promise ด้วย Promise.all
  • 10.29 Key Takeaways
  • 10.30 Homework
11
React Hook
ขยายส่วน
  • 7.0 Slide
  • 7.1 Hooks - Lab1
  • 7.2 การใช้ useEffect + Lab2
  • 7.3 Side Effect คืออะไร-
  • 7.4 การใช้ useReducer + Lab3
  • 7.5 useReducer vs useState
  • 7.6 React context+Lab4
  • 7.7 ข้อจำกัดของ Context
  • 7.8 เรื่องเพิ่มเติมของ Hooks + Lab5
  • 7.9 กฏของฟังก์ชัน Hooks
  • 7.10 Homework
12
Workshop To do list
ขยายส่วน
  • workshop To Do List
13
React From Validation
ขยายส่วน
  • 12.0 Slide
  • 12.1 React Form validation
  • 12.2 Introduction to Form Validation in React
  • 12.3 Understanding the importance of form validation-
  • 12.4 Basic concepts- controlled components, state management-
  • 12.5-12.8
  • 12.9 Basic Validation
  • 12.10-12.12
  • 12.13-12.15
  • 12.16-12.18
  • 12.19 Form Submission
  • 12.20-12.25
  • 12.26 Custom validation functions-
  • 12.27-12.29
  • 12.30 Yup Schema Validation-
  • 12.31 Integrating Yup for schema-based validation with Formik
  • 12.32 Dynamic Forms
  • 12.33 Key Takeaway
14
Redux
ขยายส่วน
  • 13.0 Slide
  • 13.1 เนื้อหาที่จะเรียนวันนี้
  • 13.2 State management
  • 13.3 ประเภทของ state ใน Application
  • 13.4 state management คืออะไร
  • 13.5 ทำไมถึงต้อง มี tool มาช่วยmanage state
  • 13.6 Key takeaway
  • 13.7 redux
  • 13.8 redux structure
  • 13.9 Store
  • 13.10 Action
  • 13.11 Reducer
  • 13.12 Redux overview flow
  • 13.13 Key takeaway
  • 13.14 React redux
  • 13.15 store provider
  • 13.16 useSelector
  • 13.17 useDispatch
  • 13.18 lab- React-Redux (useSelector)
  • 13.19 Key takeaway
  • 13.20 React redux enhancement
  • 13.21 refactoring
  • 13.22 persist state
  • 13.23 Lab- React-Redux enhancement (refactoring)
  • 13.24 Key takeaway
  • 13.25 homework
certificate-sample
Certificate of Completion

คอร์สเรียนนี้ เป็นคอร์สเรียนที่มีใบรับรองให้หลังเรียนจบ

ข้อมูลคอร์สเรียน
  • จำนวนบท
    14 บทเรียน
  • ใบรับรอง
    -
  • ความยาก
    ไม่ระบุ

© Codekit

  • Privacy
  • Terms
  • Contact Us : info@codekit.co