- Switched from `create_signal` to a tuple-based signal declaration using `(items_signal, set_items)` for improved clarity. - Replaced `items.update` with a closure-based update approach for `set_items`. - Added `Box::new` to `ItemForm`'s `on_submit` to properly handle the function's lifetime and scope. - Removed unused imports for `leptos_meta` and `leptos_router` to clean up the code. |
||
---|---|---|
.. | ||
components | ||
models | ||
app.rs | ||
lib.rs | ||
main.rs |