Jaen

Results 80 comments of Jaen

Please always include example code when reporting an issue. You are not using React properly. Render functions can get called an arbitrary amount of times, and therefore mutating global objects...

@vitejs/plugin-react-swc v3.5.0 still works with current version of Vite (v5.1.1) , so pinning that version is a workaround, for now.

> `goto` is not something you see everyday! :) Can be avoided by restructuring all the surrounding code into nested `if`s, I suppose... > Do you have some .cab files...

Yeah, same here, this break downloads as mentioned above, and also breaks printing in various Google Apps (which sometimes print via an intermediate PDF file). Are you interested in pull...

This is caused by the `Content-type` header being empty. I [added a workaround](https://github.com/jaens/no-pdf-download/commit/16e14f797a74df7749daf0495859786be4760faf) in my (AMO-unpublished) fork.

@dynamicbytes @camayl Which sites behave like this, do you have an example? Can't you just middle click the link to open it in a new tab?

SlideShare has jumped the shark and now requires a subscription to download anything, so I believe this issue is moot unless a paying member wants to debug this...

Sounds like a problem with bun? Other bundlers definitely do not include `type`-only imports...

@amritk It's useful to actually read the article :upside_down_face: > For our __local development environment__, and also for running our unit tests, we don't bundle; we use __buildless__ development, and...