Clone in a terminal:
kaja-web

Web framework for Rust targeting the WebAssembly

 benchmarks/ 
 examples/ 
 kaja-web-template/ 
 src/ 
 tests/ 
 .editorconfig 
 .gitignore 
 Cargo.lock 
 Cargo.toml 
 LICENSE 
 README.md 
 benchmarks/.gitignore 
 benchmarks/Cargo.lock 
 benchmarks/Cargo.toml 
 benchmarks/README.md 
 benchmarks/adapter.js 
 benchmarks/build-speed.sh 
 benchmarks/build.sh 
 benchmarks/dioxus/Cargo.toml 
 benchmarks/dioxus/index.html 
 benchmarks/dioxus/src/lib.rs 
 benchmarks/index.html 
 benchmarks/kaja/Cargo.toml 
 benchmarks/kaja/index.html 
 benchmarks/kaja/src/lib.rs 
 benchmarks/leptos/Cargo.toml 
 benchmarks/leptos/index.html 
 benchmarks/leptos/src/lib.rs 
 benchmarks/runner.js 
 benchmarks/yew/Cargo.toml 
 benchmarks/yew/index.html 
 benchmarks/yew/src/lib.rs 
 examples/callbacks/Cargo.lock 
 examples/callbacks/Cargo.toml 
 examples/callbacks/build.sh 
 examples/callbacks/index.html 
 examples/callbacks/loader.js 
 examples/callbacks/run.sh 
 examples/callbacks/src/lib.rs 
 examples/callbacks/styles.css 
 examples/clickcounter/Cargo.lock 
 examples/clickcounter/Cargo.toml 
 examples/clickcounter/build.sh 
 examples/clickcounter/index.html 
 examples/clickcounter/main.js 
 examples/clickcounter/run.sh 
 examples/clickcounter/src/lib.rs 
 examples/clickcounter/styles.css 
 examples/main-component/Cargo.lock 
 examples/main-component/Cargo.toml 
 examples/main-component/build.sh 
 examples/main-component/dev.sh 
 examples/main-component/index.html 
 examples/main-component/loader.js 
 examples/main-component/package.json 
 examples/main-component/push.sh 
 examples/main-component/run-dev.sh 
 examples/main-component/run.sh 
 examples/main-component/src/lib.rs 
 examples/main-component/src/main_component.rs 
 examples/main-component/styles.css 
 examples/serversiderendering/Cargo.lock 
 examples/serversiderendering/Cargo.toml 
 examples/serversiderendering/src/main.rs 
 examples/web/index.html 
 examples/web/run.sh 
 examples/web/src/app.js 
 kaja-web-template/Cargo.toml 
 kaja-web-template/cargo-generate.toml 
 kaja-web-template/index.html 
 kaja-web-template/run.ps1 
 kaja-web-template/run.sh 
 kaja-web-template/src/lib.rs 
 src/lib.rs 
 src/prelude.rs 
 test-web.sh 
 test.sh 
 tests/alltests.rs 
 tests/common.rs 
 tests/componentattribute.rs 
 tests/simple.rs 
 tests/smallcomponent.rs 

Commit history

ed76499 Johan Mattsson - johan.mattsson.m@gmail.com
Morebench marks, speed this time
Morebench marks, speed this time
b9a20cf Johan Mattsson - johan.mattsson.m@gmail.com
Benchmarks
Benchmarks
1107049 Johan Mattsson - johan.mattsson.m@gmail.com
Add license to template
Add license to template
0a47e2e Johan Mattsson - johan.mattsson.m@gmail.com
Template update
Template update
ef49a23 Johan Mattsson - johan.mattsson.m@gmail.com
More templating
More templating
312e965 Johan Mattsson - johan.mattsson.m@gmail.com
Scripts
Scripts
794ce9a Johan Mattsson - johan.mattsson.m@gmail.com
Start up on Windows using python
Start up on Windows using python
8a7e288 Johan Mattsson - johan.mattsson.m@gmail.com
Rename example src
Rename example src
c9e8f6d Johan Mattsson - johan.mattsson.m@gmail.com
Template
Template
8a643c4 Johan Mattsson - johan.mattsson.m@gmail.com
More cleanup
More cleanup
16db169 Johan Mattsson - johan.mattsson.m@gmail.com
Cleanup
Cleanup
b23ac5c Johan Mattsson - johan.mattsson.m@gmail.com
Versions
Versions
7893da8 Johan Mattsson - johan.mattsson.m@gmail.com
Metadata
Metadata
7b2c25e Johan Mattsson - johan.mattsson.m@gmail.com
Version
Version
e5c0d89 Johan Mattsson - johan.mattsson.m@gmail.com
NPM package
NPM package
3571f15 Johan Mattsson - johan.mattsson.m@gmail.com
NPM example
NPM example
ae58226 Johan Mattsson - johan.mattsson.m@gmail.com
Update example
Update example
fa9ecb4 Johan Mattsson - johan.mattsson.m@gmail.com
Test internal values
Test internal values
48a5c1e Johan Mattsson - johan.mattsson.m@gmail.com
More tests
More tests
4b41cda Johan Mattsson - johan.mattsson.m@gmail.com
Attribute tests
Attribute tests
cfa78a9 Johan Mattsson - johan.mattsson.m@gmail.com
Small test component
Small test component
3d5115c Johan Mattsson - johan.mattsson.m@gmail.com
Another attribute test
Another attribute test
aa942e1 Johan Mattsson - johan.mattsson.m@gmail.com
More tests
More tests
3fabb8e Johan Mattsson - johan.mattsson.m@gmail.com
More attribute tests
More attribute tests
cc9c0af Johan Mattsson - johan.mattsson.m@gmail.com
Test component attributes
Test component attributes
30f21d4 Johan Mattsson - johan.mattsson.m@gmail.com
Put back tests
Put back tests
10d33e7 Johan Mattsson - johan.mattsson.m@gmail.com
Move compoent code to macro and test
Move compoent code to macro and test
6680450 Johan Mattsson - johan.mattsson.m@gmail.com
Restructure
Restructure
8b35068 Johan Mattsson - johan.mattsson.m@gmail.com
Better idea
Better idea
78dd432 Johan Mattsson - johan.mattsson.m@gmail.com
New component idea
New component idea
7e27de7 Johan Mattsson - johan.mattsson.m@gmail.com
Merge branch 'main' into component-getters-and-setters
Merge branch 'main' into component-getters-and-setters
8e2f010 Johan Mattsson - johan.mattsson.m@gmail.com
Update cargo lock
Update cargo lock
1f488af Johan Mattsson - johan.mattsson.m@gmail.com
Update dependency
Update dependency
3188c97 Johan Mattsson - johan.mattsson.m@gmail.com
Ideas
Ideas
b678d76 Johan Mattsson - johan.mattsson.m@gmail.com
More tests
More tests
3ae8559 Johan Mattsson - johan.mattsson.m@gmail.com
Move test setup function
Move test setup function
749f2d8 Johan Mattsson - johan.mattsson.m@gmail.com
Test getter and setter
Test getter and setter
84a11d8 Johan Mattsson - johan.mattsson.m@gmail.com
Attribute tests
Attribute tests
92b1f06 Johan Mattsson - johan.mattsson.m@gmail.com
Clean up test
Clean up test
6136236 Johan Mattsson - johan.mattsson.m@gmail.com
Tests and examples
Tests and examples
321ec6b Johan Mattsson - johan.mattsson.m@gmail.com
Remove threads with shared memory
Remove threads with shared memory
9c53342 Johan Mattsson - johan.mattsson.m@gmail.com
Web worker test
Web worker test
45ddf9d Johan Mattsson - johan.mattsson.m@gmail.com
ArcSwap instead of lock
ArcSwap instead of lock
67b708d Johan Mattsson - johan.mattsson.m@gmail.com
Less locking
Less locking
a73df89 Johan Mattsson - johan.mattsson.m@gmail.com
Background thread updater
Background thread updater
27e8258 Johan Mattsson - johan.mattsson.m@gmail.com
More threading
More threading
c99003a Johan Mattsson - johan.mattsson.m@gmail.com
More thread ideas
More thread ideas
6ce3ae3 Johan Mattsson - johan.mattsson.m@gmail.com
Clean up code and identify problems
Clean up code and identify problems
2145271 Johan Mattsson - johan.mattsson.m@gmail.com
Remove thread pool and provide a single function for spawning new threads
Remove thread pool and provide a single function for spawning new threads
2759560 Johan Mattsson - johan.mattsson.m@gmail.com
Multiple wasm threads
Multiple wasm threads
cfe5d0c Johan Mattsson - johan.mattsson.m@gmail.com
Update component code
Update component code
8def408 Johan Mattsson - johan.mattsson.m@gmail.com
New example component
New example component
06a68b2 Johan Mattsson - johan.mattsson.m@gmail.com
Try multi thread component ideas
Try multi thread component ideas
5b0444b Johan Mattsson - johan.mattsson.m@gmail.com
Revert "Add and remove css classes"
Revert "Add and remove css classes"

This reverts commit 2226f52c8addbbf364bf019ff2dfbef8133c4a25.
dfe7085 Johan Mattsson - johan.mattsson.m@gmail.com
New compoent self (Arc<Mutex<Data>>)
New compoent self (Arc<Mutex<Data>>)
2226f52 Johan Mattsson - johan.mattsson.m@gmail.com
Add and remove css classes
Add and remove css classes
8d68365 Johan Mattsson - johan.mattsson.m@gmail.com
Fix warning messages
Fix warning messages
bea137a Johan Mattsson - johan.mattsson.m@gmail.com
Update example
Update example
e6c152a Johan Mattsson - johan.mattsson.m@gmail.com
Rerender
Rerender
d9014e7 Johan Mattsson - johan.mattsson.m@gmail.com
Get and set macro for component
Get and set macro for component
3987f24 Johan Mattsson - johan.mattsson.m@gmail.com
Cleanup
Cleanup
e9f4183 Johan Mattsson - johan.mattsson.m@gmail.com
Rerender
Rerender
0cd2174 Johan Mattsson - johan.mattsson.m@gmail.com
Update function for components referenced by id
Update function for components referenced by id
6305aa4 Johan Mattsson - johan.mattsson.m@gmail.com
No self closing component
No self closing component

It looks like self closing tags cause problems in html.
0a24792 Johan Mattsson - johan.mattsson.m@gmail.com
Update example
Update example
4cbf767 Johan Mattsson - johan.mattsson.m@gmail.com
Example
Example
6b30cee Johan Mattsson - johan.mattsson.m@gmail.com
Callback updated
Callback updated
db8e1c7 Johan Mattsson - johan.mattsson.m@gmail.com
Make attributes &str
Make attributes &str
674bd7b Johan Mattsson - johan.mattsson.m@gmail.com
Full example using web components
Full example using web components

Click counter example.
dd9e29d Johan Mattsson - johan.mattsson.m@gmail.com
Get component from static storage
Get component from static storage
48106f6 Johan Mattsson - johan.mattsson.m@gmail.com
One global store per component
One global store per component
4693249 Johan Mattsson - johan.mattsson.m@gmail.com
Update component id
Update component id
90d875f Johan Mattsson - johan.mattsson.m@gmail.com
Delete old sketch
Delete old sketch
00f049d Johan Mattsson - johan.mattsson.m@gmail.com
Get html elemennt for id
Get html elemennt for id
3521197 Johan Mattsson - johan.mattsson.m@gmail.com
Macro update
Macro update
210d23a Johan Mattsson - johan.mattsson.m@gmail.com
Update init
Update init
eff2a45 Johan Mattsson - johan.mattsson.m@gmail.com
Component update
Component update
c8b0c25 Johan Mattsson - johan.mattsson.m@gmail.com
Component sketch
Component sketch
4857701 Johan Mattsson - johan.mattsson.m@gmail.com
v1.0.2
v1.0.2
3847150 Johan Mattsson - johan.mattsson.m@gmail.com
Drop sync
Drop sync
3c1e5fa Johan Mattsson - johan.mattsson.m@gmail.com
Fix prelude
Fix prelude
e465a8e Johan Mattsson - johan.mattsson.m@gmail.com
List dependencies in README.md
List dependencies in README.md
21886c6 Johan Mattsson - johan.mattsson.m@gmail.com
v1.0.1
v1.0.1
a0dfa39 Johan Mattsson - johan.mattsson.m@gmail.com
Fix example
Fix example
62dcf38 Johan Mattsson - johan.mattsson.m@gmail.com
Update build commands
Update build commands
a03cc62 Johan Mattsson - johan.mattsson.m@gmail.com
Update example
Update example
bed4afa Johan Mattsson - johan.mattsson.m@gmail.com
Update example in readme
Update example in readme
8bf2558 Johan Mattsson - johan.mattsson.m@gmail.com
Update examples
Update examples
69fc868 Johan Mattsson - johan.mattsson.m@gmail.com
Fix package settings
Fix package settings
2235911 Johan Mattsson - johan.mattsson.m@gmail.com
Update README.md
Update README.md
de855d3 Johan Mattsson - johan.mattsson.m@gmail.com
License
License
9b5cae2 Johan Mattsson - johan.mattsson.m@gmail.com
Meta data etc.
Meta data etc.
3ac64e7 Johan Mattsson - johan.mattsson.m@gmail.com
Better example for get_callback
Better example for get_callback
023e4be Johan Mattsson - johan.mattsson.m@gmail.com
Add a function for getting a referense to a callback function
Add a function for getting a referense to a callback function
c875016 Johan Mattsson - johan.mattsson.m@gmail.com
Example: server side rendering
Example: server side rendering
c7ded90 Johan Mattsson - johan.mattsson.m@gmail.com
Set cookie value
Set cookie value
3a11c28 Johan Mattsson - johan.mattsson.m@gmail.com
More documentation
More documentation
1416946 Johan Mattsson - johan.mattsson.m@gmail.com
More examples
More examples
f478ff8 Johan Mattsson - johan.mattsson.m@gmail.com
Clean up README.md and examples
Clean up README.md and examples
5809d9b Johan Mattsson - johan.mattsson.m@gmail.com
Update README.md
Update README.md
0e3de65 Johan Mattsson - johan.mattsson.m@gmail.com
Update README.md
Update README.md
99e760b Johan Mattsson - johan.mattsson.m@gmail.com
README.md
README.md
67885fc Johan Mattsson - johan.mattsson.m@gmail.com
Cookie and input value
Cookie and input value

Some helpers.
351d7a2 Johan Mattsson - johan.mattsson.m@gmail.com
Pass values without serde if the argument is JsValue
Pass values without serde if the argument is JsValue
234866d Johan Mattsson - johan.mattsson.m@gmail.com
Make async functions work as callbacks
Make async functions work as callbacks
feeb091 Johan Mattsson - johan.mattsson.m@gmail.com
Color in example
Color in example
3f8adb6 Johan Mattsson - johan.mattsson.m@gmail.com
Cleanup and documentation
Cleanup and documentation
72f0126 Johan Mattsson - johan.mattsson.m@gmail.com
Prelude for imports
Prelude for imports
c043f7c Johan Mattsson - johan.mattsson.m@gmail.com
Remove old macro
Remove old macro
709ebd2 Johan Mattsson - johan.mattsson.m@gmail.com
Four spaces for tabs
Four spaces for tabs
760267c Johan Mattsson - johan.mattsson.m@gmail.com
Update example
Update example
34b79d9 Johan Mattsson - johan.mattsson.m@gmail.com
u32 in closure
u32 in closure
3fa1086 Johan Mattsson - johan.mattsson.m@gmail.com
Add closure test
Add closure test
de1d478 Johan Mattsson - johan.mattsson.m@gmail.com
Styling
Styling
0e2d7c8 Johan Mattsson - johan.mattsson.m@gmail.com
Drop quotes
Drop quotes
5736913 Johan Mattsson - johan.mattsson.m@gmail.com
Style in example
Style in example
b794081 Johan Mattsson - johan.mattsson.m@gmail.com
Cleanup
Cleanup
aa095dd Johan Mattsson - johan.mattsson.m@gmail.com
Move callback init
Move callback init
2b449d4 Johan Mattsson - johan.mattsson.m@gmail.com
Init callback functions
Init callback functions
e1db5b4 Johan Mattsson - johan.mattsson.m@gmail.com
Cleanup
Cleanup
7697654 Johan Mattsson - johan.mattsson.m@gmail.com
Git ignore
Git ignore
bf5df00 Johan Mattsson - johan.mattsson.m@gmail.com
Clock counter example
Clock counter example
b42e691 Johan Mattsson - johan.mattsson.m@gmail.com
Some DOM selector helpers
Some DOM selector helpers

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112