vaheqelyan / svelte-grid

A responsive, draggable and resizable grid layout, for Svelte. [NOT MAINTAINED]
https://svelte-grid.now.sh/
MIT License
970 stars 58 forks source link

Performance improvement for future using CSS Grids #86

Closed Immortalin closed 3 years ago

Immortalin commented 3 years ago

The grid resizing and computation can be offloaded to the browser with the new CSS grid specifications. It also supports nesting via subgrids.

Immortalin commented 3 years ago

I just noticed this, @vaheqelyan I am curious as to why CSS grid isn't used for the grid logic.

vaheqelyan commented 3 years ago

At first i have tried using css grid(i do not remember but something went wrong and i could not accomplish that using css grid). Then I decided to write a grid model from scratch..

I think the performance is ok

vaheqelyan commented 3 years ago

ok, I think this can be closed