How the `name` option in `createResource` is used?

The docs says that the name option in createResource is used for "debugging purposes". But it's not clear to me how it's used for debugging. Is it for internal usage only, or it provide a value to the users? This if for the docs @core-team.
createResource -
Documentation for SolidJS, the signals-powered UI framework
4 Replies
milomg
milomg3w ago
shows up in the solid-debugger, same as name for signal and memo *edit: meant solid devtools
Amir Hossein Hashemi
Can you please give me a link to solid-debugger?
milomg
milomg3w ago
GitHub
GitHub - thetarnav/solid-devtools: Library of developer tools, reac...
Library of developer tools, reactivity debugger & Devtools Chrome extension for visualizing SolidJS reactivity graph - thetarnav/solid-devtools
davedbase
davedbase3w ago
I would change the description to "A name for the resource. This is used in debugging tools such as Solid Debugger to support identifying a resource"

Did you find this page helpful?