Commit Graph
24 Commits
Author SHA1 Message Date
Varun V 487fa25dc8 fix: Use as_value() to properly serialize form values in login example (#3835)
The login form example was trying to directly use FormValue in reqwest's form method, which doesn't implement Serialize. This change extracts the actual string values using as_value() before sending them to the server.
2025-04-15 14:34:20 -07:00
Evan AlmloffandJonathan Kelley 20d146d9bd Simplify the launch builder (#2967)
* improve documentation for the fullstack server context

* Add a section about axum integration to the crate root docs

* make serve_dioxus_application accept the cfg builder directly

* remove unused server_fn module

* improve fullstack config docs

* improve documentation for the server function macro

* fix axum router extension link

* Fix doc tests

* Fix launch builder

* Simplify the launch builder

* don't re-export launch in the prelude

* refactor fullstack launch

* Fix fullstack launch builder

* Update static generation with the new builder api

* fix some formatting/overly broad launch replacements

* fix custom menu example

* fix fullstack/static generation examples

* Fix static generation launch

* A few small formatting fixes

* Fix a few doc tests

* implement LaunchConfig for serve configs

* fix fullstack launch with separate web and server launch methods

* fix check with all features

* dont expose inner core module

* clippy and check

* fix readme

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-10-10 16:00:58 -07:00
荆长逯 76ad23c822 chore: add the missing in comment (#2978)
Signed-off-by: jingchanglu <jingchanglu@outlook.com>
2024-09-19 19:56:47 +00:00
Evan Almloff b3cd4fac10 set up example scaping for docs.rs (#2450) 2024-05-28 13:05:55 -07:00
Jonathan Kelley bdbae8ccb0 Update examples, add css 2024-02-14 12:33:07 -08:00
Evan Almloff e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06:00
Evan Almloff 407a82588a fix more examples 2024-01-16 12:28:21 -06:00
Evan Almloff db35a9b48c add platform specific functions for launching apps for workspaces 2024-01-16 11:45:02 -06:00
Evan Almloff 7e4d2debe0 implement launch builder for the desktop and web platforms 2024-01-16 08:42:16 -06:00
Jonathan Kelley 33bba24867 Experiment with call syntax only working for copy types 2024-01-15 21:12:44 -08:00
Jonathan Kelley 1dde044697 remove cx.render 2024-01-13 21:12:21 -08:00
Jonathan Kelley fae0b08e61 Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Evan Almloff dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Jonathan Kelley dd4547d753 Feat: add global context functions
Add functions like window() and router() to
allow dynamically grabbing global contexts
without have to use the hook variants.

Deprecates the existing hook variants to
discourage folks from adding more noise
to their codebases.
2023-10-23 16:26:10 -04:00
Evan Almloff df222c121a port examples to new events 2023-09-01 15:38:55 -05:00
Evan Almloff f7017fac2e Fix the login form example 2023-08-08 15:45:09 -07:00
Jonathan Kelley 0dad91bc08 wip: pass more events 2022-11-15 16:37:23 -08:00
Jon Kelley d9546d9504 Renderers are now packages, not features. (#387)
* feat: use synchronous router design

* feat: function to get router out of dom

* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Jonathan Kelley 07bea88fcc fix: login example 2022-02-23 08:44:16 -05:00
Jonathan Kelley b57987cfb1 chore: clean up example a bit 2022-02-16 14:17:47 -05:00
Jonathan Kelley 4d965c8571 feat: simplify login example 2022-02-16 14:16:03 -05:00
Jonathan Kelley babe862739 fix: login example to use proper methods 2022-02-16 14:11:31 -05:00
Jonathan Kelley c6bdb5db76 fix: login form 2022-02-16 14:08:57 -05:00
JtotheThree e69fbb4baa login_form example 2022-01-07 20:20:52 -06:00