mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
ed61ea9dd2
* fix: add support for placing attributes on server functions Adding instrumentation to server functions is not straightforward (requires calling out to another ssr-only function which is instrumented). This commit adds all attributes on the server function to both the generated front end and back end functions. If those attributes are only desirable on the backend say, a user can always wrap their attribute in `#[cfg_attr(feature = "ssr", ..)]`. * nit: formatting in example cargo |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
Makefile.toml |