Clone in a terminal:
kaja-web-component

Web component framework for Rust targeting the WebAssembly

Commit history

e308481 Johan Mattsson - johan.mattsson.m@gmail.com
v1.0.2
v1.0.2
ac7834f Johan Mattsson - johan.mattsson.m@gmail.com
Log less
Log less
415e08d Johan Mattsson - johan.mattsson.m@gmail.com
v1.0.1
v1.0.1
0ebe6e2 Johan Mattsson - johan.mattsson.m@gmail.com
Docs
Docs
c632e2d Johan Mattsson - johan.mattsson.m@gmail.com
v1.0
v1.0
5909fca Johan Mattsson - johan.mattsson.m@gmail.com
Meta data
Meta data
64b7900 Johan Mattsson - johan.mattsson.m@gmail.com
Merge branch 'next-component'
Merge branch 'next-component'
ff8a64f Johan Mattsson - johan.mattsson.m@gmail.com
Macro
Macro
d955433 Johan Mattsson - johan.mattsson.m@gmail.com
Documentation
Documentation
d30ae06 Johan Mattsson - johan.mattsson.m@gmail.com
New setter function
New setter function
a06f975 Johan Mattsson - johan.mattsson.m@gmail.com
Attribute update
Attribute update
834889e Johan Mattsson - johan.mattsson.m@gmail.com
Fix attribute annotation
Fix attribute annotation
6a72ca2 Johan Mattsson - johan.mattsson.m@gmail.com
Annotate attributes
Annotate attributes
a0aa003 Johan Mattsson - johan.mattsson.m@gmail.com
More attribute updates
More attribute updates
9311eac Johan Mattsson - johan.mattsson.m@gmail.com
Turn warnings back on
Turn warnings back on
41df0ed Johan Mattsson - johan.mattsson.m@gmail.com
Validate attributes set on web component in JS
Validate attributes set on web component in JS
5f8454f Johan Mattsson - johan.mattsson.m@gmail.com
Validate attributes before setting
Validate attributes before setting
363fc60 Johan Mattsson - johan.mattsson.m@gmail.com
Getters and setters for attributes
Getters and setters for attributes
2d79b82 Johan Mattsson - johan.mattsson.m@gmail.com
New component macro
New component macro
d117343 Johan Mattsson - johan.mattsson.m@gmail.com
Fix id and attribute
Fix id and attribute
0f9b3fa Johan Mattsson - johan.mattsson.m@gmail.com
Remove compoent threads with shared memory
Remove compoent threads with shared memory

I spent some time experimenting with threads and my conclusion
is that the restriction of not beeing able to lock on any
object in the main ui thread makes it more or less impossible.

Mainly because I don't know of a way to ensure that no wasm
code in the ui thread (deep down) calls Mutex::lock() and
ends up crashing the thread. Even things that seems to not
use any locking sometimes does.

Switching to web workers that posts messages instead.
f5ce5da Johan Mattsson - johan.mattsson.m@gmail.com
Use thread local storage for components
Use thread local storage for components
842f24e Johan Mattsson - johan.mattsson.m@gmail.com
Add component name to id
Add component name to id
469e64a Johan Mattsson - johan.mattsson.m@gmail.com
Fix component callbacks
Fix component callbacks
c981108 Johan Mattsson - johan.mattsson.m@gmail.com
New component impl
New component impl
4dcdd19 Johan Mattsson - johan.mattsson.m@gmail.com
Fix indentation
Fix indentation
f4af8ac Johan Mattsson - johan.mattsson.m@gmail.com
Log less
Log less
776c9f1 Johan Mattsson - johan.mattsson.m@gmail.com
Make attributes &str and use RwLock instead of Mutex
Make attributes &str and use RwLock instead of Mutex
55e2ad6 Johan Mattsson - johan.mattsson.m@gmail.com
Get components from static storage
Get components from static storage
43ba854 Johan Mattsson - johan.mattsson.m@gmail.com
Remove counter test code
Remove counter test code
6d0a194 Johan Mattsson - johan.mattsson.m@gmail.com
Fix rust init function
Fix rust init function
973b199 Johan Mattsson - johan.mattsson.m@gmail.com
Id update
Id update
e7bcccc Johan Mattsson - johan.mattsson.m@gmail.com
Update store
Update store
86d7d64 Johan Mattsson - johan.mattsson.m@gmail.com
Fix error messages
Fix error messages
c71203e Johan Mattsson - johan.mattsson.m@gmail.com
Global store
Global store
be0af7a Johan Mattsson - johan.mattsson.m@gmail.com
Update component id
Update component id
a49ec95 Johan Mattsson - johan.mattsson.m@gmail.com
More callbacks
More callbacks
a8a7119 Johan Mattsson - johan.mattsson.m@gmail.com
Update component id
Update component id
884c70d Johan Mattsson - johan.mattsson.m@gmail.com
Fix observer
Fix observer
18073d0 Johan Mattsson - johan.mattsson.m@gmail.com
Cleanup
Cleanup
161319c Johan Mattsson - johan.mattsson.m@gmail.com
Observed parameters
Observed parameters
a3ef81e Johan Mattsson - johan.mattsson.m@gmail.com
Detach web component
Detach web component
21e9bb6 Johan Mattsson - johan.mattsson.m@gmail.com
Fix incremented id
Fix incremented id
746de80 Johan Mattsson - johan.mattsson.m@gmail.com
Refacor
Refacor
8a5c4ed Johan Mattsson - johan.mattsson.m@gmail.com
Attach callback
Attach callback
cda64de Johan Mattsson - johan.mattsson.m@gmail.com
Shorter function names
Shorter function names
ba49729 Johan Mattsson - johan.mattsson.m@gmail.com
Fix and log init
Fix and log init
4a3a700 Johan Mattsson - johan.mattsson.m@gmail.com
Init functions
Init functions
36ffb93 Johan Mattsson - johan.mattsson.m@gmail.com
Rust side owner for the component
Rust side owner for the component
a9079b3 Johan Mattsson - johan.mattsson.m@gmail.com
Add global component store
Add global component store
840a569 Johan Mattsson - johan.mattsson.m@gmail.com
Make all components derive default
Make all components derive default
86beb1c Johan Mattsson - johan.mattsson.m@gmail.com
Fix init state functions
Fix init state functions

The rust self for component.
f7d721a Johan Mattsson - johan.mattsson.m@gmail.com
Init state function
Init state function
8e08a53 Johan Mattsson - johan.mattsson.m@gmail.com
Init functon from annotated struct
Init functon from annotated struct

Contact

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