-
right now there are a ton of single useState calls.
we should research whether its cleaner to consolidate them into grouped useReducer call
if so, consolidate
-
Remove multiple useState hooks from Home.js and combine them into a single store using useReducer hook.
-
## 📝 Issue Description
Add the following content for **Hooks in React** under **REACT**
1. **Introduction to Hooks:** (What are Hooks, Rules of Hooks)
2. **Basic Hooks:** [useState (Managing St…
-
### What happened?
When I run `npm run build`, I am receiving this error:
🔴 ERROR | Failed to resolve '../../popup.tsx' from './.plasmo/static/popup.tsx'
The file path is correct, I have my `p…
-
useReducer와 ContextAPI를 사용하여 feed state를 다른 state와 전역으로 관리하고 피드를 작성할떄,
전체 state가 복사되어 불필요한 전체 리렌더링이 발생
이 때 문제는 피드 목록이 많아지는 경우 글쓰기가 느려지는 현상이 나타나는 것이었음
![스크린샷_20221113_110921](https://user-images…
-
**Task: State Management with Context API and useReducer in a React Application**
**Objective:** Explore state management in a React application using the Context API and the useReducer hook.
**Task…
-
Seems like these abstractions would be portable onto https://reactjs.org/docs/hooks-reference.html#usereducer ... what do you think?
-
great work separating the chart logic into a hook,
but I would prefer that you use useReducer because it's better for handling rerenders when multiple states are triggered at once
and for I believe …
-
We are using createReducer throughout a React application. We always use these reducers with [React's useReducer hook](https://reactjs.org/docs/hooks-reference.html#usereducer). In this scenario it is…
-
### Taro Next
>https://taro-docs.jd.com/taro/next/docs/migration.html
#### CLI 工具安装
>首先,你需要使用 npm 或者 yarn 全局安装@tarojs/cli,或者直接使用npx:
>使用 npm 安装 CLI
```bash
$ npm install -g @tarojs/cli@n…