Global createMemo shows warning "computations created outside a createRoot or render will never be disposed"
#1385
Answered
by
ulrichstark
ulrichstark
asked this question in
Q&A
|
Hey guys, Thanks for your work on SolidJS! I want to define a global createMemo in its own file, but this leads to the warning "computations created outside a Do i need to wrap each createMemo in its own createRoot? Minimal Project to reproduce: https://playground.solidjs.com/anonymous/9902096e-a539-4be0-a8e9-1a059af7b95f |
Answered by
ulrichstark
Dec 5, 2022
Replies: 1 comment 2 replies
|
Answered on Solid's Discord: https://discord.com/channels/722131463138705510/1048936508989648986/1049138517286072390 |
2 replies
Answer selected by
ulrichstark
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answered on Solid's Discord: https://discord.com/channels/722131463138705510/1048936508989648986/1049138517286072390