SolidJSS
SolidJSβ€’9mo agoβ€’
19 replies
FjordWarden

Batch creating children

I want to create a canvas api with solid and for this I want to batch adding children to the canvas so I only draw them once they are all added, (or one is updated).

My basic idea was to just have a context called ObjectCtx which is just a signal of an array and have the children add themselves to this, but this always happens one by one.

How would one go about combining them. I am open to suggestions here.
Was this page helpful?