Ev Haus

Results 136 comments of Ev Haus

Ok, I think I have something more-or-less functional in Elysia 1.0. ### Step 1 Create a custom `Error` object as per [the docs](https://elysiajs.com/life-cycle/on-error.html#custom-error). In my case I called it `APIError`....

I'll try to describe the request and problem more clearly. Elysia's ["Error Handling" docs](https://elysiajs.com/life-cycle/on-error.html#example) provide this basic example: ```ts const app = new Elysia() .onError(({ code, error }) => {...

Does it work if you add `use client` on the file which imports `react-pdf-charts`?

I was able to get around the `ReactServerComponentsError` by using `experimental.serverComponentsExternalPackages`, but `recharts` is now failing to render on the server because it's using some client code that Next 14...

I don't know how to resolve it. It seems to be a bug (or limitation of) Next.js. I've opened an issue with them [here](https://github.com/vercel/next.js/issues/64052). Feel free to upvote it to...

Can you please create a repo with your setup and share it with me? I can take a look.

Confirmed. I took a look, and I'm not entirely sure what's wrong here. It almost seems like the transform origin is set incorrectly for `` elements inside `react-pdf`. You can...

This is mostly a note to myself. Here's a minimal repro of the issue: An `` element with some angled text in regular HTML renders them on the bottom and...

@SM1512J This is a bug in `react-pdf`'s engine and it's not very likely that it will be something I could fix in this library. I'm keeping the ticket open mostly...

Unfortunately I don't have any good suggestions here, other than to manually render the text outside the charts and position it absolutely over-top the chart, similar to how [this example](https://github.com/EvHaus/react-pdf-charts/blob/dev/examples/recharts-images.tsx#L60-L65)...