SolidJSS
SolidJSโ€ข4y agoโ€ข
6 replies
baxuz

disposing of a `createRoot` nested inside a `createEffect`?

I am creating a nested effect, like:

createEffect(() => {
  // create nested effect
      createRoot(() => {
        createEffect(() => {
// ...


Will the root be automatically disposed when the scope of the first createEffect gets disposed? How can I inspect that?
Was this page helpful?