You must call register on the type you passed into the server macro in your main function before starting your server to tell Dioxus about the server function
but to my understanding this is no longer a requirement, and this text should therefore be removed.
I believe also this is obsolete (wrt to the unique type requirement)
To make a server function, simply add the #[server(YourUniqueType)] attribute to a function.
There is also a section "Server code" at the end that uses these, but it's unclear if this is also obsolete or needed in some use-cases?
In https://dioxuslabs.com/learn/0.5/reference/fullstack/server_functions it says
but to my understanding this is no longer a requirement, and this text should therefore be removed.
I believe also this is obsolete (wrt to the unique type requirement)
There is also a section "Server code" at the end that uses these, but it's unclear if this is also obsolete or needed in some use-cases?