-
-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3037 from leptos-rs/rename-island-router
change: rename island-router feature so people don't use it
- Loading branch information
Showing
6 changed files
with
18 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
# Leptos Todo App Sqlite with Axum | ||
# Work in Progress | ||
|
||
This example creates a basic todo app with an Axum backend that uses Leptos' server functions to call sqlx from the client and seamlessly run it on the server. | ||
This example is something I wrote on a long layover in the Orlando airport in July. (It was really hot!) | ||
|
||
## Getting Started | ||
It is the culmination of a couple years of thinking and working toward being able to do this, which you can see | ||
described pretty well in the pinned roadmap issue (#1830) and its discussion of different modes of client-side | ||
routing when you use islands. | ||
|
||
See the [Examples README](../README.md) for setup and run instructions. | ||
This uses *only* server rendering, with no actual islands, but still maintains client-side state across page navigations. | ||
It does this by building on the fact that we now have a statically-typed view tree to do pretty smart updates with | ||
new HTML from the client, with extremely minimal diffing. | ||
|
||
## E2E Testing | ||
|
||
See the [E2E README](./e2e/README.md) for more information about the testing strategy. | ||
|
||
## Rendering | ||
|
||
See the [SSR Notes](../SSR_NOTES.md) for more information about Server Side Rendering. | ||
|
||
## Quick Start | ||
|
||
Run `cargo leptos watch` to run this example. | ||
The demo itself works, but the feature that supports it is incomplete. A couple people have accidentally | ||
used it and broken their applications in ways they don't understand, so I've renamed the feature to `dont-use-islands-router`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters