fix(derive): suggest valid component scopes
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ Category modules such as `targets`, `handles`, and `forms` remain available for
|
||||
0 004 `#[hemx::surface]` bridges generated code into a user module. Users write `#[hemx::surface] mod ui {}` instead of direct `$OUT_DIR` includes; hemx-build emits `hemx.generated.rs` for the macro to expand in place. [north_star]
|
||||
|
||||
### req: component/005
|
||||
0 005 Optional `#[hemx::component]` validates that each template Surface handle has a corresponding `#[hemx::handler]` within the annotated module. It is strictly module-local, with cross-handler visibility only inside that module. [north_star]
|
||||
0 005 Optional `#[hemx::component]` validates that each template Surface handle has a corresponding `#[hemx::handler]` within the annotated module. It is strictly module-local, with cross-handler visibility only inside that module; unknown scopes report the available generated component names. [north_star]
|
||||
|
||||
### req: component/007
|
||||
0 007 Missing handlers without `#[hemx::component]` are caught at app mount or test time, not `cargo check`. [north_star]
|
||||
|
||||
Reference in New Issue
Block a user