lazarus2019 / learn-reactjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactJS 2021 & 2022

ReactJS  2021   2022

Boilerplate

Create React App (trang đơn)

Dễ dàng upgrade khi có các tính năng mới

  • Standard

Vite

react-boilerplate

  • Comunity

Gatsby (nội dung tĩnh)

Next.js (NodeJS)

Syntax

Class Component + Life cyles (ngày XƯA)

Function Component + Hooks (>v16.8-2019)

Ui Libs

Reactstrap

  • Bootstrap

Marterial UI

Ant Design

Kích thước lớn

React Toolbox

React + Foundation

Semantic UI React

Bit

Custom

Others...

https://viblo.asia/p/15-thu-vien-ui-components-tot-nhat-cho-reactjs-maGK7pDMZj2

https://ehkoo.com/bai-viet/10-thu-vien-ui-components-cho-react

Styles

SCSS + BEM

CSS Modules

Styled Components

UI Lib styles

RebassJS

TailwindCSS

Routing

React Router DOM

React Location

SEO

https://www.youtube.com/watch?v=v49midf_QTI

Add link có

thumbnail + description

  • YES --> NextJS
  • NO --> ReactJS

Form

Formik

Vấn đề về performance -> render nhiều quá khi form có nhiều controls -> lag (trên mobile)

React Hook Form

  • Đi theo hướng uncontrolled components, fix được nhiều vấn đề performance khi form có nhiều controls.

Validation

  • Yup

    Phổ biến nhất

  • Joi

  • Custom

React select

State Management

https://viblo.asia/p/top-5-thu-vien-quan-ly-state-cho-react-3P0lP3EoZox

Redux - Redux Toolkit

RecoilJS

Cách tiếp cận đơn giản

Zustand

Mobx

Akita

API

axios

Hỗ trợ nhiều tiện ích: Interceptor (request & response)

fetch

ReactJS

Create React App | Vite

Functional Component + Hook

UI Lib

Form

  • React Hook Form
  • Yup

State management

  • Redux Toolkit

API

  • axios

Ebooks ReactJS

https://blog.freec.asia/tai-lieu-react-js/

Useful React Library (source)

https://www.niemvuilaptrinh.com/article/24-thu-vien-react-cho-phat-trien-website

Xử lý form + validation

Drag n Drop

Form

Tools

Icons

Layout

Design

Management

Testing & Checking

Animtaion Loading

Diagram

Data

Others

About


Languages

Language:JavaScript 50.6%Language:HTML 48.1%Language:CSS 1.3%