推測ですがa.tsxがb.tsxからimportしたコンポーネントにa.module.cssで定義されたクラス名を渡すようなことをしてませんか?
それをすると詳細度が同じならCSSの読み込み順に依存しちゃいますね
これはCSS Modulesのモジュール性を破る使い方ということになるのかなと
uhyoさんらが何年も前から主張していたと思いますが外からクラス名を自由に与えられるコンポーネント設計がCSS Modulesでは特によくないということになるでしょう
うちではそれでpropsからclassNamesを外す修正がされたことがあります
的外れなら申し訳ない
28.02.2025 00:20 — 👍 0 🔁 0 💬 1 📌 0
なるほど
でもファイルアップロードならイマドキは署名付きURLを使うことが多くてServer Actionsのユースケースとしてはあまり考慮されてないのかも?
特に複数の大きなファイルを扱うなら直列化されるのでまとめてアップロードになりそうなServer Actionsより個別に開始したりキャンセルできたりする方がUX上のメリットもありそうな
22.01.2025 23:53 — 👍 1 🔁 0 💬 0 📌 0
AbortControllerを使っても送信したHTTPリクエストを取り消せるわけでもサーバーの処理を中断できるわけでもなく期待できるのはHTTPレスポンスを無視できるくらいでは?
それならServer ActionsはReactのTransitionで実行されるので同等じゃないですかねー
Sebastian Markbåge氏もそんなことをツイートしてた気がします (なので対応される見込みは多分なさそう)
22.01.2025 10:17 — 👍 0 🔁 0 💬 1 📌 0
I like to build stuff - father of two 👦👦 - Teacher, Tinkerer, Cook - Senior Staff at @PayFitEng - TanStack router maintainer - Nx Champion 🏆 - @traefik Ambassador
Creator of jQuery, Chief Software Architect at Khan Academy, Japanese print nerd. https://johnresig.com/ https://ukiyo-e.org/ (bot: @ukiyo-e.org)
Validate your development skills to unlock a world of opportunities with industry-recognized certifications.
Developed in partnership with framework creators and industry leading experts.
Powered by @Bitterbrains.com
https://certificates.dev/
https://github.com/kdy1
Next.JS / SWC Maintainer
Security Engineer @herodevs | Node.js Technical Steering Committee & Release
marcoippolito.dev
JavaScript Infrastructure & Tooling at Bloomberg. Co-chairing TC39. Likely to tweet tech stuff about JS & software performance. Opinions are my own.
Husband, Father, Turmerist, Easter
▼・ᴥ・▼ working on React Compiler. formerly known as [@]potetotes on the cursed place
ECMAScript News – JavaScript and tools:
🦋 All links: here on Bluesky
🦣 Mastodon: https://mastodon.online/@ecmascript_news
📧 Weekly email with additional information: https://ECMAScript.News
Written by @dr-axel.de and @johannesweber.bsky.social
https://github.com/hi-ogawa
@vitest.dev @vite.dev contributor
i like computers
she/her 🏳️🌈
📍berlin (and warsaw sometimes)
https://twitter.com/lubieowoce
https://github.com/lubieowoce
Igalia is an open source consultancy specialized in innovative projects and solutions with desktop, mobile, and web technologies.
React library author, maintaining three state management libraries, Zustand🐻, Jotai👻, Valtio🧙, and React framework, Waku⛩️.
Join my Discord server 👉 https://discord.gg/MrQdmzd
For more links, visit 👉 https://daishikato.com
a web dev
tylur.dev • prototypey.org
📍la
Redux maintainer, building time-travel devtools at Replay.io. I blog about React, Redux, and TS at https://blog.isquaredsoftware.com . Answering questions anywhere there's a textbox on the internet, and otherwise out on the golf course!