Skip to content

Instantly share code, notes, and snippets.

View QuangThai's full-sized avatar
💔
Don't be the same, be better

Quang Thái QuangThai

💔
Don't be the same, be better
  • MVP Studio, Bit.Country Metaverse Network
  • Thua Thien Hue, Vietnam
View GitHub Profile
@ladifire
ladifire / ExampleComponent.tsx
Created January 3, 2022 03:58
Demonstrate how to use Error boundary component in Reactjs
import React from 'react';
import { withErrorBoundary } from 'components/common/MartyErrorBoundary';
export const ExampleComponent = () => {
return (
<div>
Component
</div>
);
@mrtonyhuynh
mrtonyhuynh / react-rendering.md
Created March 25, 2021 01:25 — forked from harrytran998/react-rendering.md
A (Mostly) Complete Guide to React Rendering Behavior

Translated from https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-mostly-complete-guide-to-react-rendering-behavior/, author: Mark Erikson (from Redux team)

A (Mostly) Complete Guide to React Rendering Behavior

Bài viết cung cấp chi tiết về cách mà React render hoạt động, và việc sử dụng Context và Redux ảnh hưởng thế nào tới quá trình render của React.

"Render" là gì

Rendering is the process of React asking your components to describe what they want their section of the UI to look like, now, based on the current combination of props and state.