From 6f0bd088af2bed928ba95f963c3defa20eef3460 Mon Sep 17 00:00:00 2001 From: arctic_hen7 Date: Mon, 20 Sep 2021 17:15:08 +1000 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=93=9D=20added=20explanation=20fo?= =?UTF-8?q?r=200.1%=20js=20to=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 96e7cdea4e..5fd67e5197 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,10 @@ Support every major rendering strategy and provide developers the ability to eff There is a sore lack of Rust frameworks for frontend development that support more than just SPAs and client-side rendering, and so Perseus was born. We need something like NextJS for Wasm. +## Why is this 0.1% JavaScript? + +[This](https://github.com/arctic-hen7/perseus/tree/main/packages/perseus/src/unset_initial_state.js) is the only JavaScript file in the entirety of Perseus, all it does is unset a global variable, and it's only needed until [this issue](https://github.com/rustwasm/wasm-bindgen/issues/2685) is fixed on [`web-sys`](https://docs.rs/web-sys). After that's fixed, Perseus will be completely free of JavaScript! + ## Roadmap ### Pre-stable