use-preact
Preact component metadata primitives for RustUse.
Experimental
use-preact is experimental while use-js remains below 0.3.0.
Example
use ;
let component = new?;
let hook = new?;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::
Scope
- Preact component, hook, JSX runtime, file-kind, and compat-mode metadata.
- Lightweight component and hook name validation.
Non-goals
- Rendering behavior.
- JSX parsing.
- Compatibility runtime behavior.
License
Licensed under either Apache-2.0 or MIT.