Week 22 - 2021
The weeknote for 5/31 - 6/6. You can edit this page (on github) if you find any error.
Sucrase is a fast typescript transpiler.
- These days I'm interested in Sucrase typescript transpiler. It skips the process of creating AST from the source code and directly works on token stream for performing type stripping. Because of this design decision, it says it's faster than SWC or Esbuild. I feel this tool is worth trying for some specific purposes such as transpiling on the edge server, etc.
'twd' is tailwind like CLI tool for Deno. I created this tool for replacing tailwind usages in Deno ecosystem, specifically I'm going to use this in doc website of packup.
tailwind のためだけに node を引っ張り出すのが嫌だったので Deno から tailwind (的な css 生成) が出来るツールを作った https://t.co/qgfOn5g9bR— Yoshiya Hinosawa (@kt3k) June 3, 2021
Frontend Testing in Deno
- I was able to run react-testing-library for the first in Deno with this example. One thing unfortunate about this is that this example is not type checked because I import unpkg version of react, react-dom, and react-testing-library which don't provide type definition. Why didn't I use esm.sh or skypack version of them? Because they didn't work with esm.sh or skypack for very obscure reasons. React and react-dom actually work with those CDNs, but the react-testing-library is actually the cause of the problem, which doesn't work with type providing CDNs.
Iyo-chan and I got a baby finally. He/she's 7 week old in her. He/she is expected to be born in January next year.
ベビちゃん!😃 https://t.co/OruGBpPZcF— Yoshiya Hinosawa (@kt3k) June 1, 2021
Mario Maker 2
These days I play Mario Maker 2 sometimes. In this game, any user can create their own levels and publish them to the world, and every player can play them. It's like Super Mario with open central level registry. Some levels are extremely difficult to solve.
See any mistakes? Please fix!