Week 35 - 2020
The weeknote for 8/24 - 8/30.
- Fix a test case of
- Fix a test case of
Rome is a new frontend toolchain.
- Rome is a revolutionary tool or at least it aims to be a revolutionary tool. It supports almost the entire process of frontend development by the only one single cli tool without any external dependencies. It could be the most significant masterpiece of frontend development if it attained what it first promised. This week I tried to use
rome check(the linter) in one of my old projects to replace the usage of
lyntnow seems unmaintained and I don't want to set up the so combersome
typescript-eslintconfiguration. In it I found this issue. It suggests that rome should use tabs for indentation for the purpose of accessibility. @sebmck accepted the proposal and now rome uses tabs. What I found is a problem there is that rome doesn't provide the way to configure it. We can't choose
2 spacesfor indentation 🤔 That's comparably small thing but what I found that I can never agree is that it enforces
no-explicit-anyrule for TypeScript source code. I agree that
anyis a bad thing but I sometimes can't find a way to avoid it. The very good part of TypeScript is its so tolerable approach to
no-explicit-anyso you can't use
anyand you can't configure it. That means you can't use rome if your code is "bad". My library capsid needs to use
anyand I don't know the way to avoid it at the moment. So that means I'm literally unable to use rome at the moment because of this restriction 😬
Finally I was successful at saving images on Huawei Android devices! 🎉 (The commit). The modules I used in the final successful form were
@react-native-community/camerarolland PermissionsAndroid of
react-native. The modules I couldn't use for this purpose were
react-native-share(and any other sharing libraries) and
react-native-file-provider(unable to compile because it's too old). I also tried
<a download />but it didn't work because it doesn't handle
data:uri scheme (The error message says they don't support it).
I finally understand the correct way to save the image on the device's camera roll. So the next step is finally finish the UI and ship it to App Store and Google Play 👍 However before that I would create some lepont modules to make it easy to reuse the above process in the next similar apps.
#tententenapp やっとアプリからカメラロール保存出来ただよ pic.twitter.com/bDPv9oEJek— Yoshiya Hinosawa (@kt3k) August 27, 2020
Iyo-chan was a great chef this week again!
#kt3kmeal そうめん、天ぷら pic.twitter.com/C53QpkOAEj— Yoshiya Hinosawa (@kt3k) August 24, 2020
August 26, 2020
#kt3kmeal 生姜焼、お野菜、みそ汁、とうふ、ご飯 pic.twitter.com/hkThJ56ho6— Yoshiya Hinosawa (@kt3k) August 27, 2020
#kt3kmeal 肉じゃが pic.twitter.com/nzJll6rY08— Yoshiya Hinosawa (@kt3k) August 28, 2020
Iyo-chan and I went to Toshi Yoroizuka in Roppongi Midtown this weekend. Toshi Yoroizuka is a fancy sweet shop in Tokyo. We had special parfaits and they were so delicious 😋
#kt3kmeal Toshi Yoroizuka パフェ pic.twitter.com/hibbB8hSZK— Yoshiya Hinosawa (@kt3k) August 28, 2020
Edit this page