上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 491 下一页
摘要: Pull httpd:latest image Normally you want to attach the version httpd:2.4, because everytime you run the image, we with the same version is running. b 阅读全文
posted @ 2023-01-25 04:25 Zhentiw 阅读(23) 评论(0) 推荐(0)
摘要: let context = [] function cleanup(observer) { for (const dep of observer.dependencies) { dep.delete(observer) } } function subscribe(observer, subscri 阅读全文
posted @ 2023-01-24 04:21 Zhentiw 阅读(37) 评论(0) 推荐(0)
摘要: Previously, we have problem for such code: type RGB = readonly [red: number, green: number, blue: number]; type Color = { value: RGB | string }; const 阅读全文
posted @ 2023-01-19 04:45 Zhentiw 阅读(40) 评论(0) 推荐(0)
摘要: import { test } from '@playwright/test'; test.beforeEach(async ({ page }) => { await page.goto('http://localhost:3000'); }); test('selectors', async ( 阅读全文
posted @ 2023-01-18 16:14 Zhentiw 阅读(39) 评论(0) 推荐(0)
摘要: In this lesson, we are using HTML, accessibility concepts, and ARIA attributes to improve the time scrubber feature of an audio player. The goal is to 阅读全文
posted @ 2023-01-17 16:07 Zhentiw 阅读(16) 评论(0) 推荐(0)
摘要: Consider this createClassNamesFactory function that's similar to one I built for getting Tailwind class names that could then be passed into a React c 阅读全文
posted @ 2023-01-17 15:31 Zhentiw 阅读(23) 评论(0) 推荐(0)
摘要: This exercise begins with a makeStatus function that takes in an array of TStatuses that extends an array of strings. The statuses are then returned, 阅读全文
posted @ 2023-01-16 15:39 Zhentiw 阅读(22) 评论(0) 推荐(0)
摘要: There are two solutions to this challenge, both with different ways of representing the generic. Solution 1: The first option is using TConfig which e 阅读全文
posted @ 2023-01-14 22:20 Zhentiw 阅读(21) 评论(0) 推荐(0)
摘要: See this code: const array = [ { name: 'John', }, { name: 'Steve', }, ]; const obj = array.reduce((accum, item) => { accum[item.name] = item; // Eleme 阅读全文
posted @ 2023-01-14 01:37 Zhentiw 阅读(27) 评论(0) 推荐(0)
摘要: Here we have a Component class that can be passed in TProps. Inside of the constructor it assigns props to this, and provides a getProps method that c 阅读全文
posted @ 2023-01-12 15:53 Zhentiw 阅读(24) 评论(0) 推荐(0)
上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 491 下一页