error: `js!` in #[mx::component] impls only supports `js! { ... }` or `js!(once, { ... })`
  --> tests/ui/component_impl_invalid_js_mode.rs:12:9
   |
12 |     js!(later, {
   |         ^^^^^

error[E0277]: the trait bound `InvalidJsMode: maud_extensions::ComponentRender` is not satisfied
 --> tests/ui/component_impl_invalid_js_mode.rs:4:10
  |
4 | #[derive(Component)]
  |          ^^^^^^^^^ unsatisfied trait bound
  |
help: the trait `maud_extensions::ComponentRender` is not implemented for `InvalidJsMode`
 --> tests/ui/component_impl_invalid_js_mode.rs:5:1
  |
5 | struct InvalidJsMode {
  | ^^^^^^^^^^^^^^^^^^^^
  = help: see issue #48214
  = note: this error originates in the derive macro `Component` (in Nightly builds, run with -Z macro-backtrace for more info)
