Skip to main content

tailwind を長年避けて styled-components のようなライブラリをつかってましたが、 Next.js との連携や昨年から案件での採用が増え今はよくつかうようになりました。 [Tailwind CSS Docs][docs] で表現したい css shorthand をひたすら検索してます。とりあえずでつかえそうなクラスをメモしてみました。

Hono and React full stack dev

Hono is an ultra-fast, lightweight, web-standard framework. Although using Hono alone for SPA development can be challenging, combining it with React enables full-stack capabilities akin to Next or Remix. Hono allows for expression not possible with React alone, such as tree structure routing. Its small bundle size and Node.js independence make it a low-cost, easily deployable option on platforms like Cloudflare. I have used Hono in some products, deploying complex features like Server-Sent Events and JWT authentication with AWS Lambda quickly.

r3f but not React

Computer Graphics Ninja にとってThree.jsではつらいことがたくさんあります。 まずひとつに、memoryを抑えるため、使いおわったあとは .dispose() するので、 全ての変数をあつめる必要があります。(他にも trackをつかう方法 があります。) また、毎frameの処理を一か所に集める 必要があることです。 ThreeController test - CodeSandbox