- 👀 Updates from the 100th TC39 meeting - Promise.try, function decorators, ArrayBuffer, Uint8Array, Iterator…
- 👀 TC39 introduced a new stage 2.7
- 👀 ES2024 Release Candidate
- 👀 RFC for Biome plugins
- 👀 Vite 6 discussions - Vite started to collect input for the next major version
- 👀 JSR - new ESM-only package registry from the Deno team
- 📜 JSR first impressions
- 📜 A practical guide to using shadow DOM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--ifm-color-scheme: light; | |
--ifm-dark-value: 10%; | |
--ifm-darker-value: 15%; | |
--ifm-darkest-value: 30%; | |
--ifm-light-value: 15%; | |
--ifm-lighter-value: 30%; | |
--ifm-lightest-value: 50%; | |
--ifm-contrast-background-value: 90%; | |
--ifm-contrast-foreground-value: 70%; |
Sponsor ThisWeekInReact.com
The new sponsoring offers page is now available here: https://thisweekinreact.com/fr/sponsoring
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Requires jsdoc and jsdoc-to-markdown | |
*/ | |
/* eslint-disable no-console */ | |
const fs = require('fs') | |
const path = require('path') | |
const glob = require('glob') | |
const { execSync } = require('child_process') | |
const jsdoc2md = require('jsdoc-to-markdown') |
Je teste un système de "petites annonces". Le même Gist sera utilisé sur plusieurs éditions.
Mettez un commentaire:
- si vous recrutez
- si vous cherchez un travail ou une mission
- pour commenter un article
- pour donner votre avis sur la newsletter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const intersperse = <T>(arr: T[], separator: (n: number) => T): T[] => | |
arr.flatMap(arr, (a, i) => i > 0 ? [separator(i-1), a] : [a])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { | |
useCallback, | |
useEffect, | |
useMemo, | |
useRef, | |
useState, | |
} from 'react'; | |
import useConstant from 'use-constant'; | |
import produce from 'immer'; | |
import { useIsMountedFn } from './useIsMounted'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
const generateHolderKey = (() => { | |
let counter = 0; | |
return () => { | |
counter += 1; | |
return `holder_${counter}`; | |
}; | |
})(); |
NewerOlder