ハイライト 2023-02-08
Articles
- Author: Ajeet Raina
- Full Title: Can ChatGPT Debug and Fix All of Your Docker and Kubernetes Issues?
AIからは解をもらうというより、探すためのヒントをもらうっていうのはその通りだなと。なので結局ある程度のスキルは必要だとは思う。
- Author: Andy Jiang
- Full Title: Back to the SSR
There are many benefits to moving the work a browser does to render a website to the server:
• Performance is higher with the server because the HTML is already generated and ready to be displayed when the page is loaded.
• Compatibility is higher with server-side rendering because, again, the HTML is generated on the server, so it is not dependent on the end browser.
• Complexity is lower because the server does most of the work of generating the HTML so can often be implemented with a simpler and smaller codebase.
フロントエンドエンジニアとしてカバーすべき範囲は広くなってきた感じはする。Backbone.jsだったりAngular.jsのころは本当にフロントエンドのことだけ考えたりしてましたから。
- Author: Julian Arz
- Full Title: Compile Once, Run Anywhere With WebAssembly and WASI
WASMでビジネスロジックをフロントエンドも含めてポータブルにするというのは次世代感がある。
- Author: goldbergyoni
- Full Title: Goldbergyoni / Javascript-Testing-Best-Practices Public
ベストプラクティスありすぎだけど、Arrange, Act & Assert (AAA) は布教したい派。
- Author: jasonformat.com
- Full Title: Islands Architecture
Islands Architectureは結局のところmicro-frontendsのことかと思ったんだけど、micro-frontendsはどうやらHTMLに限った話では無いらしい。
- Author: Qiita
- Full Title: React18でuseEffectが2回走っちゃう件
useEffectは2回走っちゃってもちゃんと動くコードを書きましょうねという話。
機能を軸にしてディレクトリ構造を考えるのは自分も好き。「機能の粒度をエンジニアだけで考えない」という観点はとても大事だと共感。
- Author: memo_md
- Full Title: 規模感の違う脱レガシーで必要なこと
一人で隣町まで行っただけなら帰り道も辿れそうだが、みんなで宇宙に行ったら簡単には地球には帰ってこれない。ちゃんと次の惑星に辿り着かないといけない。撤退という選択肢がどこかのタイミングで難しくなってくる。
表題と上の引用がグッとくる。バイブルにしたい内容。
- Author: Martin Fowler
- Full Title: Modularizing React Applications With Established UI Patterns
AuthorはMartin Fowlerになってるけど、実際はJuntao QIU氏が書いた記事。フロントエンドのアーキテクチャについて非常に勉強になる内容。気になるのは、今後はコンポーネントのそばにデータのfetchを入れていくアーキテクチャになっていきそうだということ(Next.jsで語られているcollocated data fetching)。この点とも合わせて今後注目したい。
Tweets
言葉や評価がやや過剰だと言いたいとき、英語ではよく That's an overstatement. と表現します。statement は主張、前に over (超える) がつくことで「それは (実際を) 上回る主張」→「言いすぎ」となるわけです。この表現には、割に感情を排除した淡々とした響きがあるので、職場などでも便利。1/3
— Mystery Parrot (ミスパロ)🦜 (@ParrotMystery) 2023年2月6日
overestimateも頭をよぎったりした。さらっとoverstatementだったりunderstatementを使えるようになりたい。