Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shuding
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
shuding
4y ago
No it didn’t work with React Native because it uses a bunch of browser APIs to measure the content size, but I hope someone will build an alternative for RN!
2.
▲
by
shuding
4y ago
Thanks for the feedback. In the future we will be focusing on closing that gap. Some research is still going on and with Next.js 13's server components and server-side data fetching primitives, I believe there will be a great experienc
3.
▲
by
shuding
4y ago
We answered that in the blog post: https://swr.vercel.app/blog/swr-v2#the-future--thank-you > With the new release of Next.js 13, we see a lot of exciting new things as well as paradigm shifts in the React ecosystem
4.
▲
by
shuding
4y ago
There are already a lot of choices to convert SVGs to PNGs, what Vercel uses is https://github.com/yisibl/resvg-js . And Sharp is another good option.
5.
▲
by
shuding
4y ago
It does not rely on a browser. Satori itself includes a CSS parser/normalizer, a flexbox layout engine, a text layout engine and a SVG renderer.
6.
▲
by
shuding
4y ago
JSX here is just a way to represent the HTML information because you can't write HTML in JavaScript. It is NOT required. But with the JSX representation, the lib doesn't have to parse it again, and it's using it as JSON, chec
7.
▲
by
shuding
4y ago
Advanced text shaping isn’t implemented yet, where we plan to use Harfbuzz in the future.
8.
▲
by
shuding
4y ago
No, Satori does not guarantee that the SVG will 100% match the browser-rendered HTML output. That's because Satori implements its own layout engine based on the SVG 1.1 spec. However, Satori generated result (SVG) is stable on all brow
9.
▲
Adaptive Polynomial Curve Fitting
(shud.in)
1 points
by
shuding
4y ago
|
0 comments
10.
▲
by
shuding
5y ago
No, these will not be going away in the near future as far as we can see. React 18 / RSC are still in alpha or experimental stage, and what we shared are just new ways to do data fetching that we are currently exploring. In fact, compo
11.
▲
by
shuding
5y ago
> Is this using WebContainers? Or is it just very similar? No, it’s not using WebContainers. It’s a native ES module based Next.js dev server that works inside the browser.
12.
▲
by
shuding
5y ago
Wow great work tga, love it!!
13.
▲
by
shuding
6y ago
Hey! SWR author here. Mind sharing the annoyances and how I can make it better for you?