cirilla
Computations created outside a `createRoot` or `render` will never be disposed
Instead of flag being a JSX expression, you can make it a function that returns that e.g.
() => <img ...
and then change where you have flag to flag() so that the elements are not created eagerly11 replies
`vite-plugin-solid` makes Vitest take over twice as long to run
There's a step where it goes through you dependencies and checks for a solid export field, which seems like it could take some time
https://github.com/solidjs/vite-plugin-solid/blob/873f4cec4db1dcffac9d909191cf828a9902a418/src/index.ts#L195
Perhaps try editing the files for vite-plugin-solid in your node_modules to time it
2 replies
KPCKevin Powell - Community
•Created by cirilla on 9/25/2023 in #front-end
CSS grid, setting maximum span
7 replies
KPCKevin Powell - Community
•Created by cirilla on 9/25/2023 in #front-end
CSS grid, setting maximum span
Not the max columns there but like,
if I put
span 3
on something it'll force the grid to have 3 columns and it'll have zero width for the ones that don't naturally fit, is there some way to do it such that I can say "take up 3 columns at maximum otherwise span across however many there are"7 replies