leptos/examples/hackernews_js_fetch
Saber Haj Rabiee db1c15f4e4
fix: fix web-sys warnings in server_fn (#2828)
* fix: fix web-sys warnings in server_fn

* fix: update web-sys to 0.3.70

* fix: web-sys clipboard api in 0.3.70
2024-08-13 15:46:34 -07:00
..
public feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00
src fix: hackernews_js_fetch example for leptos_0.7 (#2678) 2024-08-01 19:43:09 -04:00
Cargo.toml fix: fix web-sys warnings in server_fn (#2828) 2024-08-13 15:46:34 -07:00
deno.jsonc feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00
deno.lock fix: hackernews_js_fetch example for leptos_0.7 (#2678) 2024-08-01 19:43:09 -04:00
LICENSE feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00
Makefile.toml fix: hackernews_js_fetch example for leptos_0.7 (#2678) 2024-08-01 19:43:09 -04:00
README.md fix: hackernews_js_fetch example for leptos_0.7 (#2678) 2024-08-01 19:43:09 -04:00
run.ts feat: add JS Fetch integration support (#1554) 2023-09-25 07:51:25 -04:00
rust-toolchain.toml chore: update hackernews_js_fetch example to latest versions of leptos and axum 2024-06-02 15:39:01 -04:00

Leptos Hacker News Example with Axum

This example uses the basic Hacker News example as its basis, but shows how to run the server side as WASM running in a JS environment. In this example, Deno is used as the runtime.

Server Side Rendering with Deno

To run the Deno version, run

deno task build
deno task start