use-solid 0.0.1

SolidJS metadata primitives for RustUse
Documentation
  • Coverage
  • 41.18%
    14 out of 34 items documented1 out of 14 items with examples
  • Size
  • Source code size: 13.05 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 816.09 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-js
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-solid

SolidJS metadata primitives for RustUse.

Experimental

use-solid is experimental while use-js remains below 0.3.0.

Example

use use_solid::{SolidComponentName, SolidPrimitiveKind, SolidSignalName};

let component = SolidComponentName::new("CounterPanel")?;
let signal = SolidSignalName::new("count")?;

assert_eq!(component.as_str(), "CounterPanel");
assert_eq!(signal.as_str(), "count");
assert_eq!(SolidPrimitiveKind::Signal.as_str(), "signal");
# Ok::<(), use_solid::SolidNameError>(())

Scope

  • SolidJS component, signal, file-kind, primitive-kind, and JSX runtime metadata.
  • Lightweight component and signal name validation.

Non-goals

  • Reactivity implementation.
  • JSX parsing.
  • Runtime behavior.

License

Licensed under either Apache-2.0 or MIT.