Best practices
Best practices
2022/06/29 (增加連結)
Do we need to import React for stateless functional components?
What is the index.js file in the component directories?
Event handlers must always be a function or a reference to a function (with an exception). **
3 More Extremely Useful React Tricks To Speed Up Development Process
How We Reduced Bugs in Our React Codebase (in typescript)
Conditionals
JSX
Error
Worst practices / anti-patterns
React the Wrong Way: 4 Anti-Patterns to Avoid
Nested components
Rendering FOR loops with a variable index
Having large component trees inside the same component
Using context to handle global state management
Three.js
Getting Started With Three.js : Importing your first 3D model into React
Immer.js
Authentication
Ways to Add Authentication to Your React Apps
React Login with Frontegg
React Authentication with Okta
API
Accessibility
Form
React Portal
Email
Fiber
Event
Proxy
PDF
Loading
Skeleton Loading Pages with React
react-loading-skeleton
Skeleton Screens for Better Loading in React
react-loading-skeleton
Memory Leaks
How to Cleanup Side Effects in React : Avoid memory leaks in your react application.
Performance
Scale
Webpack
3 Ways to Optimize Your React Bundle With Webpack : Webpack bundle analyzer, code-splitting, and more
Web Components
Schema
Styled Components
Most Efficient Ways Of Styling React Components: Styled Components & Dynamic Props
Starting styled mixins in React : Part-1: How to reuse CSS in JS
Advanced Mixins in Styled-Components : Part-2: Nested Mixins and arguments
Clean Code
How to Write Cleaner React code : Avoid unnecessary tags in React
The cleaning code I've used in React
Prioritise imports
Move complicated and shared functionality to React Hook