4 ms·
that’s a bold claim, could you give an example?
by __jonas 2y ago
that’s a bold claim, could you give an example?
- nicce 2y agoProbably the most known example https://github.com/vercel/next.js/discussions/19065 https://github.com/vercel/next.js/discussions/19065 It is not an issue if you host in Vercel. Implementing the requested feature would make the framework much better and easier to use when self-hosted elsewhere. But there is neglection to resolve the issue. This is just one case.
- steelbrain 2y agoFWIW, we host on Cloudflare and use their API to resize images on the fly and we're fine. Not so much a "lock-in" if other vendors can fill-in, is it?
- nicce 2y agoYou likely needed to do more extra work than needed, when compared to some other options. The lock-in here is the added developer time and complexity vs. just paying premium.
- steelbrain 2y agoI disagree with your threshold for what makes something a lock-in but I admire your ideology of less friction in portability
- winterrx 2y agoWhat API do you use to resize images? Cloudflare? I know Vercel and NextJS have an <Image> resizing/optimization component that gets pricy.
- steelbrain 2y agoYes, Cloudflare through the `loader` prop in `Image` component. See CF docs for what the url should be https://developers.cloudflare.com/images/transform-images/transform-via-url/ https://developers.cloudflare.com/images/transform-images/tr... Next.js docs should tell you how to write the loader
- RamblingCTO 2y agoIf you need to change it when switching vendors and only they offer it/it's proprietary, it's vendor lock-in.