上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 496 下一页
摘要: The Shortcomings of Most Prop Definitions In the last lesson, we learned how to create props that were well documented and helped to prevent common bu 阅读全文
posted @ 2024-12-02 01:27 Zhentiw 阅读(58) 评论(0) 推荐(0)
摘要: Mutating State Here’s where Pinia gets a bit… controversial. Pinia allows us to mutate state in a variety of ways, letting us decide where and when we 阅读全文
posted @ 2024-12-02 01:14 Zhentiw 阅读(71) 评论(0) 推荐(0)
摘要: When company's API become huge and always changing, if request-busis maintained by developers manually, it's not only time consuming but also error pr 阅读全文
posted @ 2024-12-01 18:57 Zhentiw 阅读(28) 评论(0) 推荐(0)
摘要: Idempotency is a mathematical concept often abstracted as: f(n) = 1n, no matter what's the value of n, f(n) alwayhs equals 1 In network requests, many 阅读全文
posted @ 2024-12-01 17:42 Zhentiw 阅读(24) 评论(0) 推荐(0)
摘要: Usage of a cached request: const req = createCacheRequestor(); req.get('/a') // request req.get('/a') // use cache req.get('/b') // request req.get('/ 阅读全文
posted @ 2024-12-01 17:32 Zhentiw 阅读(27) 评论(0) 推荐(0)
摘要: Three layers design Low level implementation Layer: using low level implementation to complete basic operation. For the network request, we can use th 阅读全文
posted @ 2024-12-01 17:14 Zhentiw 阅读(31) 评论(0) 推荐(0)
摘要: Identifying the containing block The process for identifying the containing block depends entirely on the value of the element's position property: If 阅读全文
posted @ 2024-12-01 16:58 Zhentiw 阅读(25) 评论(0) 推荐(0)
摘要: HTMLCollection The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) a 阅读全文
posted @ 2024-12-01 16:45 Zhentiw 阅读(26) 评论(0) 推荐(0)
摘要: In this lesson, we will be learning how to mock REST API calls. Mocking is a technique used in software testing to simulate the behavior of objects or 阅读全文
posted @ 2024-11-30 01:59 Zhentiw 阅读(30) 评论(0) 推荐(0)
摘要: Snapshots In this lesson, we will learn about a testing technique called Snapshot testing. Snapshot testing allows you to take a “snapshot” of the exp 阅读全文
posted @ 2024-11-30 01:52 Zhentiw 阅读(40) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 496 下一页