tldraw / tldraw

SDK for creating whiteboards and canvas experiences on the web.

Home Page:https://tldraw.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: `useDefaultUiAssetUrlsWithOverrides` not cache return value, This causes the resource to be refreshed multiple times when customizing assets

minbaby opened this issue · comments

What happened?

the resource to be refreshed multiple times when customizing assets

export function useDefaultUiAssetUrlsWithOverrides(

How can we reproduce the bug?

demo url: https://dj95td.csb.app/
code: https://codesandbox.io/p/sandbox/tldraw-example-forked-dj95td?file=%2Fsrc%2FApp.tsx%3A27%2C43

What browsers are you seeing the problem on?

Microsoft Edge

Contact Details

zhangshaomin_1990@126.com

Code of Conduct

  • I agree to follow this project's Code of Conduct