Skip to content

fix(rsbuild): restore StyleX HMR with runtime injection - #515

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-stylex-hmr
Oct 12, 2026
Merged

chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-stylex-hmr

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

StyleX style edits currently update class names through HMR without updating the CSS, leaving styles incorrect until a page refresh. Enable runtime injection during development so styles update with their modules, while production builds continue to extract content-hashed CSS.

Related Links

Follow-up to #511.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T13:23:42.174800Z 41a9632 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chenjiahan
chenjiahan merged commit 9673b5b into main Oct 12, 2026
1 check passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-stylex-hmr branch October 12, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant