mhkeller/layercake

Switch to resize observer instead of svelte's `bind:clientWidth` `bind:clientHeight`?

mhkeller opened this issue · 1 comments

From here #113, Svelte can be slow when using these bindings. This PR is pending and this issue has an alternative.

It seems the drawback is that IE11 has no support for resize observer. Would it be possible to set it up so that it falls back to the current behavior? I don't have IE11 to test on.

I believe general svelte improvements will be coming out in the next few months so I will likely not be implementing this in the library. If that changes, I'll reopen this issue.