svelte-lightweight-charts
svelte-lightweight-charts copied to clipboard
Sveltekit
Will the package work on Sveltekit? Or is it better to wait for the 4.0 version of lightweight-charts?
Works only on the client side without prerendering and SSR. It cannot be imported into the nodejs environment until 4.0 is released. I think you can easily adjust this behavior for particular pages. I was able to run it here https://github.com/trash-and-fire/svelte-lightweight-charts/issues/10#issuecomment-1089064228
4.0 brings some breaking changes, so I will also release 2.0 with some breaking changes. I will remove the chart action and redundant code for it. The package should be much lighter.
Another reason I don't really like svelte is marketing. Not lighter bundle and not easier to develop: https://bundlephobia.com/package/[email protected] - svelte wrapper https://bundlephobia.com/package/[email protected] - react wrapper
Работает только на стороне клиента без пререндеринга и SSR. Его нельзя импортировать в среду nodejs, пока не будет выпущена версия 4.0. Я думаю, вы можете легко настроить это поведение для конкретных страниц. Я смог запустить его здесь # 10 (комментарий)
Thank you for the detailed answer!
4.0 brings some breaking changes, so I will also release 2.0 with some breaking changes. I will remove the chart action and redundant code for it. The package should be much lighter.
Another reason I don't really like svelte is marketing. Not lighter bundle and not easier to develop: https://bundlephobia.com/package/[email protected] - svelte wrapper https://bundlephobia.com/package/[email protected] - react wrapper
Very cool done in React, I think you would increase the reach of the audience if you released a package for Vue 3