Convert LayerCake.svelte lib to Svelte 5#331
Convert LayerCake.svelte lib to Svelte 5#331rgieseke wants to merge 14 commits intomhkeller:mainfrom
Conversation
|
On |
8b28a9d to
960a203
Compare
|
Maybe we can handle |
|
I've never liked how the LayerCake component has all of this code for x, y, z and r even if the user hasn't defined those. It would be nice if things were more dynamic where it looked at whether those accessors were set and then created properties as a result. I'm not sure if this will work with Svelte's reactivity but just putting it out there. |
Ya that makes sense. |
Not sure if it's possible to do everything without stores, but with or without stores maybe it's possible to be more dynamic with the context. You wrote earlier that it likely would look like |
As discussed in #329