Shu Ding

Results 403 comments of Shu Ding

Can you explain? Satori takes JSX elements and outputs SVG as text, there's no caching. Or are you saying that the resources need to be cached with a config?

Wow what an amazing investigation, thank you so much for your effort in this @jakeinflab! > Modify satori.ts#L57-L62 to use serialized value as key of the map This definitely makes...

Thanks for bringing this up, definitely we need better documentation here! > The first yield however looks like it could be a callback function passed down into each child. The...

Technically doable with `feBlend`, but a bit complicated. Will put this in the backlog for now. Thanks!

@multipletwigs Thanks for taking this and I like your solution! I think one nice thing we can do is to remove the checkbox with a `try { JSON.parse(content) }`. If...

This is strange as Satori doesn't have external I/O unless you have ``. Not sure if it's related to the font or WASM file. Need to investigate it a bit.

You could use the `write_options` option to avoid this warning: ``` python o_author.save(safe=None, write_options={"w": 0}) ```

Yep, same endpoint will always be deduplicated and the data will be reusable.

Yep I think it will still work fine. But you definitely need some pressure testing before putting it into production so you can add proper rate limiting for example.

@TommySorensen Yep still no alternative way. In the near future I can see Suspense based SSR/SSG solving this but it’s not ready yet.