euv-example 0.4.1

An example application demonstrating the euv UI framework with reactive signals, custom components, and WebAssembly.
Documentation
use crate::*;

/// Provides a default empty form state with all signals initialized.
impl Default for UseForm {
    /// Creates a default `UseForm` with empty signals.
    ///
    /// # Returns
    ///
    /// - `Self`: A new `UseForm` with all signals initialized to defaults.
    fn default() -> Self {
        UseForm {
            username: use_signal(String::new),
            email: use_signal(String::new),
            password: use_signal(String::new),
            agree: use_signal(|| true),
            submitted: use_signal(String::new),
            errors: use_signal(String::new),
            username_error: use_signal(String::new),
            email_error: use_signal(String::new),
            password_error: use_signal(String::new),
            agree_error: use_signal(String::new),
        }
    }
}