takurinton

Results 23 issues of takurinton

S3のバケットをブランチ用に作り、PRで走るCIの場合はそっちに静的ファイルをアップロードするようにする。

```mermaid graph TD; A[たけのこ]-->E[たけ]; A[たけのこ]-->F[のこ]; D[きのこ]-->B[き]; D[きのこ]-->C[のこ]; E[たけ]-->G[たけのこ]; C[のこ]-->G[たけのこ]; ```

init!!! cdk + lambda のサーバレス環境でデプロイを試す。 マージはしない予定だけど、行けそうならするかも。 - https://aws.amazon.com/jp/blogs/opensource/rust-runtime-for-aws-lambda/ - https://github.com/codetalkio/patterns-serverless-rust-minimal

ref https://github.com/takurinton/wip.blog.takurinton.dev/pull/7 ## 現状 ここではコンポーネントの中で shadow root を作って、そこから dom を展開してレンダリングをしている。 ## やりたい custom element の形は保ったまま、React の vdom tree に attach することができるようにしたい。 ```jsx ```

https://web.dev/fast/

ローカルで試したやつなので参考値でしかないけど、time to interactive の値が極端に悪い。 外部ファイルの圧縮や最適化が今自分がパッと思いつく方法なので、改善してみる。 ref #4 ![image](https://user-images.githubusercontent.com/50351271/149645748-46cd72ee-aee6-4f0d-90d2-af9f51dc2222.png)

## やること まだいいやと思って目を逸らしてきたので、bundle の構成を考える。 ページごとで bundle して、必要な部分だけ読み込む、といったやり方を考えている。

I've defined globalThis.fetch at https://github.com/preactjs/wmr/pull/934, but currently wmr can't access external resources when use prerender mode. Therefore, I came up with a plan to make fetch available natively in Node.js...

add ssr playground using vite