Can I have the temporal API now (or should I say Temporal.Now.instant())? tc39.es/proposal-temporal/do…
1
Both a hilarious name and a great tool to test with not so great internet connections. github.com/tylertreat/comcas…
I haven't used it yet but this looks like lodash but with hooks 😍 github.com/streamich/react-u….
JEST i must confess my love your documentation jestjs.io/docs/timer-mocks
1
Troy Blank retweeted
Tip: You can name capture groups for Regular Expressions in JavaScript. Define a named capture in angle brackets <> and they get returned under .groups.
![This feature is about identifying capture groups via names. // Without named capture groups const re = /(\d{4})-(\d{2})-(\d{2})/; const match = re.exec('2021-03-04'); console.log(match[1]); // → 2021 (year) console.log(match[2]); // → 03 (month) console.log(match[3]); // → 04 (day) // With named capture groups 🔥 const re = /(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})/; const match = re.exec('2021-03-04'); console.log(match.groups.year); // → 2021 console.log(match.groups.month); // → 03 console.log(match.groups.day); // → 04 // ... and with destructuring assignment 🔥🔥🔥 const [match, year, month, day] = re.exec('2021-03-04');](https://pbs.twimg.com/media/EzwqDp7VgAAQQnZ.jpg?name=small&format=webp)
ALT This feature is about identifying capture groups via names. // Without named capture groups const re = /(\d{4})-(\d{2})-(\d{2})/; const match = re.exec('2021-03-04'); console.log(match[1]); // → 2021 (year) console.log(match[2]); // → 03 (month) console.log(match[3]); // → 04 (day) // With named capture groups 🔥 const re = /(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})/; const match = re.exec('2021-03-04'); console.log(match.groups.year); // → 2021 console.log(match.groups.month); // → 03 console.log(match.groups.day); // → 04 // ... and with destructuring assignment 🔥🔥🔥 const [match, year, month, day] = re.exec('2021-03-04');
I feel like a design & front end unicorn. Lot of "full stack" gets thrown around but we tend to not recognize people that bridge gaps in other just as important ways. This podcast is about that and is awesome > shoptalkshow.com/434/
I need to remember that there is a Babel REPL more often babeljs.io/en/repl
1
I love this type vs interface cheat sheet for typescript educba.com/typescript-type-v…. I always forget the nuisances.


