Update to Yew 0.20#1
Conversation
|
This should be ready now. |
|
I just stumbled across this repo and pr while looking for a rust table. I notice yew has been update to 0.21.0 recently. The other changes in this pr include adding search which looks super useful |
| serde-value = "0.6.0" | ||
| yew = "0.6.0" | ||
| serde-value = "0.7.0" | ||
| yew = "0.20.0" |
There was a problem hiding this comment.
| yew = "0.20.0" | |
| yew = "0.21.0" |
| @@ -14,5 +14,5 @@ description = "A table component for the Yew web framework" | |||
|
|
|||
| [dependencies] | |||
| serde = { version = "1.0.93", features = ["derive"] } | |||
There was a problem hiding this comment.
| serde = { version = "1.0.93", features = ["derive"] } | |
| serde = { version = "1.0.197", features = ["derive"] } |
There was a problem hiding this comment.
Well, these are outdated because that is how long this PR was open :). It should pretty much just work as is. even with the update. I just have a copy of this in my projects...
There was a problem hiding this comment.
@shimwell I ended up creating a new repo with this if you want to use it https://github.com/aknarts/yew-custom-components did not publish yet because I am not sure I can take that name and trying to think of a better one. The table example is live here: https://aknarts.github.io/yew-custom-components/#/table
Rewrote it to Function Component, and added the ability for the data to be updated in real time and the table preserves sorting.
Hey, ran into the crate while working on something and wanted to use it.. made some changes internally for me, and then decided that I might as well push them upstream. This is currently still WIP.
What I want to do before merging is remove any hardcoded css from the core library and make it configurable.