Shu Ding

Results 403 comments of Shu Ding

Another update: compression is now enabled automatically, the demo is also upgraded to React RC.1.

Yeah, currently React Context isn’t implemented in RSC so we can’t use `useRouter` in server components. As a **temporary** workaround, `router` is passed to the page as a prop (same...

@revskill10 It's already there, you don't need to wrap it with `withRouter`: ```js export default function Page({ router }) { ... } ``` Also keep in mind that this router...

Currently, `next export` is not supported with RSC. You probably don't need RSC if you want all your content to be fully static.

I compiled this project with `RUSTFLAGS=\"-C target-feature=+simd128,+bulk-memory,+nontrapping-fptoint,+relaxed-simd -C opt-level=3\" wasm-pack build --target web --out-name index --out-dir wasm/dist --release --mode no-install` and got a pretty impressive result.

Thanks for working on this! Here are my thoughts: > So if we get the data for SWRDevtools, it is marked as "used" and causes extra re-rendering That is indeed...

> That might be useful, but is there any way to know whether useSWRNext is useSWRInfinite or not? I think the most "correct" way of doing so is by getting...

Could you share more details please?

Yeah I noticed the same performance issue. I'm wondering if it's because the canvas dimension being too large? Currently it's 1800x400 with DPR=2 (3600x800) even on mobile. Could you try...

@RoberOrz in latest version, you can pass `context: { antialias: false }` as per #47. @benmccann > Why does the example set width and height twice? Because the HTML canvas...