godrob0t (@godrob0t) profile picture

4.669

Joined August 2022
Photo by godrob0t (@godrob0t)Photo by godrob0t (@godrob0t)Photo by godrob0t (@godrob0t)
Another pain in the ass is animations. I’m trying to solve it too. Looks like I can handle it so far. What about header and features around it? You can choose which one so you want: canvas based, DOM based or inject the one you wrote. So no limits for UI libs
1
40
What about SSR? We know canvas based tables are not good for SEO bots. Use pre-rendered SSR tables then. Probably there will be a method to use on server to render header and first N rows you need.
43
BREAKING: Adobe is nearing a deal to acquire Figma, a startup that makes online design collaboration tools, sources say trib.al/u7hC3Sn
301
1,106
2,958
2,330
If you work with canvas on JS and you have a tons of texts to render - you better use virtual canvas to render on it before insert to in-DOM canvas. I’m not sure why but Chromes performance degrades af when you render a text right on in-DOM canvas. Other browsers are ok with that
1
1
I mean in common way you can use several canvases stacked one after other and don’t waste a time on insertion or recomposition when something changes on the layout.
1
1
Another thing to remember is CSS property “textRendering”. It’s inherited by canvas but you can’t rule this property when you create a virtual canvas. As a result you can use some virtual canvases to measure text and it will not match the text rendered on in-DOM canvas sometimes
The Quite OK Image Format 😍