Shu Ding

Results 96 issues of Shu Ding

Would be great to support HMR via React Fast Refresh. The official one was implemented as a Babel plugin so might be a bit tricky.

This PR fixes the behavior that Next.js always resets the scroll position to (0, 0) on `popState`, it's not noticeable because the browser corrects it after that. When explicitly set...

type: next

As per https://github.com/vercel/next.js/issues/41951#issuecomment-1294199692, this PR improves the TS plugin error message when a non-literal configuration is used: Also a bug is fixed so string template literals (``const revalidate = `auto`;``)...

type: next
created-by: Next.js team

Fixes #41856. There is no way to apply those loader rules to specific directories, especially when `transpileModules` is used. This PR changes that to be based on the issuer layer....

type: next
created-by: Next.js team

With the current architecture, we no longer need to get the relative path and make that match the module ID generated via the "named" way. Instead, we directly use the...

type: next
created-by: Next.js team

Right now we require all `` to be converted as paths, if you render a `` node inside. That is mainly because I guess most of these use cases (putting...

enhancement

Here's my [before](https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/pages/api/social-image.tsx#L100) & [after](https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/feature/update-deps/pages/api/social-image.tsx#L39) in case you find it helpful ([playground link](https://og-playground.vercel.app/?share=rVZ_b9s2EP0qhArXGWBZ1E_bQp0gSJcuf-yfrcAwoMBAiaTMVBI1irKcBPnuPUmWLCd2GxRFgli8ezzynt4758mIJWVGaHygYvslR6jUDylbPz01zwgVshRayDxEU8VSosWWTWddasNEstGQsDGe9MFaUL15EaOiLFLyAFGesl0fbZ4_CsXifflYplWW99mIxF8TJauc3shUKsi_s28d7Cx6AElFkt9plpXNXpZrpvrUfVVqwR9uJATz5oLHablliqeyhsRGUMryaRN_fv6SXzYPPQ8vmTjigkQlXFcPXJxh4zQfb-huDLnLSMLCPo7QtFLpxUbrogwtSyuSN7fasqhK03IzF9r6L2c7bYlm2xVg1y124l5PnFv4ret6nsumj3kpYd3i4LNDOX6D8xsk_CldsyrNmpXadOYkI48yJ3U5j2XWpVlcKbavZpYa5BEPSUw94hGfmkvCuOktFq654nZg0mVseys7xs7Ka4EsixSJmRlvSJ6w-X2RTNxbTaKUTdyPUSrjrxMnEBQWlMcLvsArkzCXmZ4TB-bKWTkmD3zPpb6_DDgGbEziTbN367yv1-7Sw-__Xy_83w7ccpGCHoD1KK3UxbLYjXItoVyqDNJlTFJ2Yc8xbO7yjUoQuvxggUhALW_Wy0vvDMJYYfxKQp5_iJ32zo_cA_KRirYt2kGxQyBWQZFKInKBZ-3P3B313IH_IlRU4KblEH-8yynbhcg-ar5bHNp-3fg52Z91yfk-f9zpCb-XRaMn0rpnDDxhO875GFEQSkWehMjxRtHvzJpWMmC36wZyyPbJjrKBtI62gS_E4cp_i0cG7xwD9hKNhfU9-BLP2tU_ez4XuN1_uNMfskbXiqF_ZYU-SWgJfZboE9PoBsiSGVPl1XDGG8_srvgnUfEGOdh2-n3jGsfVfnKUalmEyHWGdco4tGjjwyvpZWQ7B7HuJTcOnRPVsd6n_tFo7o0DY2Hvm2ORWNar2YymqcgZUWaioCYo4EJLKKSB6Bl6RyPucQ4PUMbm9sh3J0uNpzt8U8UsbUaqRQphwei2yJZooqzVMqCUUJ8yqMpWC3cRUB9jYkfRckkXmNCAU4zdq3Id4HNHdu-19SLQO2ahd75_yvkiSwbnq3g9_cW3HczzC8bKyWnu9dP84E_rSLvdpzEzZNGItDTCJ6M92ghtBwa20Z1nhEGzoPDVmxghJ2nJZgbL5L34_FA0_1Lpul1BocZFv2cRo0aoVcWen78B)). I ended up starting mostly from scratch since there were so many small issues (definitely not a...

# Feature Request ## Description If running on the server, you cannot use `` because there is no domain provided. We should throw a specific error message in that case.

enhancement

Satori currently relies on OpenType.js to parse font tables and generate the glyphs. I’m considering switching to Harfbuzz in the future because it supports a couple of more complex scripts...

backlog

# Feature Request ## Description ## Additional Context https://heistak.github.io/your-code-displays-japanese-wrong/ https://twitter.com/mandel59/status/1579647588936355841

enhancement