Homepage
Open in app
Sign in
Get started
Enjoy life enjoy coding
CSS
JavaScript
React
Jest
Design Pattern
Other
Coding Blog
GitHub
Tagged in
React
Enjoy life enjoy coding
The learn process of website code.
More information
Followers
540
Elsewhere
More, on Medium
React
神Q超人
in
Enjoy life enjoy coding
Nov 27, 2019
React Unit Test | React 的 Route 單元測試 feat. Jest, react-testing-library
就 router…
Read more…
159
神Q超人
in
Enjoy life enjoy coding
Nov 23, 2019
React Unit Test | 為執行細節寫下測試(翻譯)
當你在測試時,如果為 Component 的任何一個你所能察覺的每個細節寫下測試,會為測試本身帶來哪些問題!相信讀完這篇文章,會更能理解…
Read more…
521
1 response
神Q超人
in
Enjoy life enjoy coding
Nov 19, 2019
React Unit Test | 測試 Component 時什麼才是最重要的?
本篇要和大家分享的內容源自於 這個問題,問題內容主要是 「當使用 react-testing-library 測試…
Read more…
256
神Q超人
in
Enjoy life enjoy coding
Nov 14, 2019
React Unit Test | 讓你的 UI 測試適應變化(翻譯)
只要我們想像並模擬使用者操作系統的方式寫下測試,不僅可以讓測試更適應 UI 的變化,也能讓測試為你帶來更多價值
Read more…
442
神Q超人
in
Enjoy life enjoy coding
Jul 29, 2019
React Redux | 小孩子才做選擇! Hooks 和 Redux 我全都要!
簡單使用了 useSelector 和 useDispatch 兩個…
Read more…
994
4 responses
神Q超人
in
Enjoy life enjoy coding
Jun 16, 2019
TypeScript | 當 TypeScript 遇上 React 的超級聯名 TSX 款
其實標題應該是反過來了,因為我是先將擁有一套完整的 React 專案架構,再硬是將 TypeScript…
Read more…
447
2 responses
神Q超人
in
Enjoy life enjoy coding
May 23, 2019
Redux Saga | Redux 界的非同步救星 - 基本用法
寫法輕鬆又直觀,一眼就能看出在做什麼,但是 fetch 需要搭配 Promise 做回傳資料的處理、 data 可能還未拿到資料就…
Read more…
571
1 response
神Q超人
in
Enjoy life enjoy coding
May 9, 2019
Jest | 再一次測試你的 Component - feat.react-testing-library 基本用法
Counter 是透過 Hooks 的 useState 管理 State ,也就是說…
Read more…
286
1 response
神Q超人
in
Enjoy life enjoy coding
Apr 27, 2019
Jest | 將 Unit Test (單元測試)導入 Redux 專案 — feat.React, Enzyme
在上篇文章裡簡單解釋了如何對 Component 做 test…
Read more…
251
1 response
神Q超人
in
Enjoy life enjoy coding
Apr 6, 2019
Jest | 經過測試,讓你的組件安全有把關 shallow render 篇 - feat.React, Enzyme
Component 中不只會有邏輯,還有 Html 的結構、 Props…
Read more…
343
1 response