Zheng YuXuanI’m developing a new server state management library for React.I’m excited to introduce the RSM (React Server Model) tool I’ve developed to the community. In this article, I would like to share with…4 min read·Jun 24, 2023----
Zheng YuXuaninDcard Tech Blog2022 Dcard Web Frontend 實習心得大家好,我是宇軒,是 Dcard 2022 年的前端實習生之一。這篇文章想和大家分享我當初是如何準備面談,以及這半年間的心得。6 min read·Mar 15, 2023----
Zheng YuXuaninTowards DevI create a package to simplify the work when using useReducerUsing useReducer to handle complicated state is preferable to using useState. However, writing a reducer is kind of annoying because we may…3 min read·May 1, 2022--1--1
Zheng YuXuan使用 useReducer 來處理複雜的 state最近在 Medium 上看到一篇文章說,在處理比較複雜的 state 時,應該使用 useReducer將 state 變化的邏輯從 component 中抽離出來。想想覺得滿有道理的,以不久前做的 todo-app 為例子,如果我想要更新其中一個 todo 的話,用…5 min read·Apr 23, 2022----
Zheng YuXuanHow To Update Array State In React HookAs we all know, if we want to update a state in React, we should not modify the state directly. It is easy if the type of the state is…3 min read·Mar 26, 2022--3--3
Zheng YuXuanReact Infinite Scroll 開發心得在這半年學習前端的過程中,每一次在npm上使用到好用的package都會有一個想法浮上心頭:我也好想要有一個自己的package。除此之外,我一直覺得在GitHub上面的專案有很多星星是一件很酷的事情。5 min read·Feb 25, 2022----
Zheng YuXuanReact學習筆記 — 實作Infinitely ScrollingInfinitely scrolling 在網站中是一個很常見的功能,舉個例子,當你滑臉書滑到底時,會有新的貼文再補進來,或是聊天室往上滑到一定程度時,會載入更久以前的聊天內容,這些都可以算是infinitely scrolling。5 min read·Feb 25, 2022----
Zheng YuXuanReact 學習筆記 — Hooks在上一篇React的學習心得中有稍微提到,其實funtional component 也可以透過hooks去使用state以及類似 lifecycle methods的功能,而這一篇文就是要介紹如何使用hooks (useState, useEffect)。6 min read·Feb 21, 2022----
Zheng YuXuanCSS 學習筆記 - FlexboxFlexbox 在處理置中或一維的水平、垂直排列時非常方便,相較於使用float或是position來排版,flexbox 更加淺顯易懂且直觀。7 min read·Jan 22, 2022----
Zheng YuXuanReact 學習筆記 - Class Component and Functional Component學習了React一陣子,前幾天剛好也完成了The Odin Project中React section的最後一個project,因此來複習一下這兩、三個禮拜以來學習React,順便當作學習的紀錄。12 min read·Jan 20, 2022----