Advertisement ยท 728 ร— 90

Posts by Simon Ihmig

It *might* have to do with lit re-exporting directives from lit-html as a transitive implicit dep. AFAICT would still be a bug of the vite plugin if it cannot handle that, so nothing wrong about it from lit perspective I think. Just a symptom of sharing not working correctly.

1 week ago 0 0 0 0
[Bug]: Cannot share lit properly ยท Issue #606 ยท module-federation/vite Describe the bug Since upgrading from a much earlier version (1.8.0) to more recent ones (1.12.3, 1.13.5, also reproducible on latest 1.14.2) along side with core MF deps, we are having problems sh...

No, you can explicitly declare shared deps to be treated as singletons. However, that was not working for me as described in this issue: github.com/module-feder...

Which brought up the issue of lit in dev mode and lit-html in prod clashing, as the latter was not properly shared for some reason.

1 week ago 0 0 1 0
ResponsiveImage - the JavaScript library for responsive images. Responsive images made easy. Supporting multiple frameworks, WebP, AVIF, placeholders (LQIP), Image CDNs and much more.

New ResponsiveImage release is officially out of the shell! ๐Ÿฃ

๐Ÿš€ Full support for @vite.dev v8 and @rolldown.rs optimization.

โœจ Smoother DX: polished defaults and other ergonomics improvements

๐Ÿณ Dropped some eggs, breaking support for Node 20 and Ember < 6.4

responsive-image.dev

2 weeks ago 3 0 0 0
ResponsiveImage - the JavaScript library for responsive images. Responsive images made easy. Supporting multiple frameworks, WebP, AVIF, placeholders (LQIP), Image CDNs and much more.

๐Ÿ“ฃ responsive-image.dev now ships with a native Vue.js image component to render responsive images!

Use it with the @vite.dev plugin (or webpack) to process local images in your @vuejs.org or @nuxt.com app, with support for modern formats, image transformations and LQIP, or load from image CDNs.

1 month ago 6 0 0 0
Preview
Ember 6.8 Released The Ember project is excited to announce the release of Ember v6.8. This is a standard minor release as part of the standard Ember Release Train process, but this release isn't...

Hot off the press!

6.8 released with some big features ๐ŸŽ‰

โšก@vite.dev by default
๐Ÿ•š Compatible with libraries from 8+ years ago*
โœจ New APIs: renderComponent, additional reactive data structures
๐Ÿค No more hbs by default (strict: true)

Read more here:

blog.emberjs.com/ember-releas...

5 months ago 42 16 1 2
Preview
Image delivery for modern web applications: Introducing ResponsiveImage In the landscape of web development, images are often both a crucial visual element and a significant...

Been a while since my last blog post, so I thought I'll write this one on the open source project I spent a fair amount of time on over the last year.

Are you building web applications and want to deliver responsive images in an easy and efficient way? Then give this a read ๐Ÿ‘‡
dev.to/simonihmig/i...

9 months ago 2 0 0 0
ResponsiveImage - the JavaScript library for responsive images. Responsive images made easy. Supporting multiple frameworks, WebP, AVIF, placeholders (LQIP), Image CDNs and much more.

New major release of responsive-image.dev is out!
โš› image component for @react.dev
โฑ๏ธ supports the @fastly.com IO image CDN
๐ŸŒ supports auto-negotiation of image format by CDNs
โœจ refactored LQIP (Thumb/BlurHash) simplifying runtime image components

Shoutout to William Killerud for most of these! ๐Ÿš€

10 months ago 4 0 0 0
feat: unlock universal ๐ŸŒŒ by runspired ยท Pull Request #9968 ยท emberjs/data ๐ŸŽ‰ With this PR, WarpDrive becomes usable by any signals-compatible framework or library. To do so still requires the following constraints: Use SchemaRecord in Polaris Mode only (no Legacy Mode) ...

๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€

@warp-drive.io (formerly #emberdata) version 5.5-alpha.21 is compatible with any framework that works with a signals concept. Even multiple on one page sharing data. Pluggable reactivity ftw. Official #svelte/#vue/#preact/#lit integrations coming soon. โœจ๐ŸŒŒ

github.com/emberjs/data...

11 months ago 15 7 1 1
Post image

Render responsive images in your Svelte app with this library by @simonihmig.bsky.social ๐Ÿ–ผ๏ธโšก๏ธ - madewithsvelte.com/responsive-i...

11 months ago 3 1 0 0
A picture taken over my shoulder of me releasing Embroider@v4 from my phone while drinking a beer in a restaurant

A picture taken over my shoulder of me releasing Embroider@v4 from my phone while drinking a beer in a restaurant

I just released Embroider@v4 from the @mainmatter.com team dinner using release-plan

This is the start of the @vite.dev era of @emberjs.com ๐ŸŽ‰

1 year ago 43 8 3 1
Advertisement
Post image

ChatGPT is savage. omg

1 year ago 21 2 0 0

And how you compose the two worlds together is a legit framework design choice.

I can't see why JS-in-HTML should be semantically or logically better than HTML-in-JS tbh.

1 year ago 0 0 0 0

All of Svelte is a superset of HTML, or just the templating part? I would say the latter? I am all for the template to be a superset of HTML (don't like JSX), but you need JS at least to glue things together. Most likely your app will host way more JS than HTML though.

1 year ago 1 0 1 0

Interesting to see that us coming from a similar/same background, we also stumble over the same issues! ๐Ÿ˜…

Nice write-up!

1 year ago 2 0 0 0

That wasn't my point though. Yes, you can define features like runes in tests, except for the most basic feature: components.

You can't invoke the component under test in the way you would normally do. Also can't define components locally in your test to pass to higher order components.

1 year ago 0 0 0 0

Not trying to hate on Svelte, I like it quite a bit!

But I do feel they got this template vs. JS thing backwards.

1 year ago 2 0 1 0
Preview
Template Tag Format - Components - Ember Guides The template tag format is a powerful, new way to write components in Ember. It's a single-file format that combines the component's JavaScript and Glimmer template code. The <template> tag is used to...

In Ember tests, you invoke the component just the same way as you do anywhere else. Because you can have <template> inside JS. Example: guides.emberjs.com/release/comp...

1 year ago 3 0 1 0

Besides the snipped argument, you see the limitations of "js inside template" also for tests. You need to pass props to the render function, invoking the component in a totally different way than you would do in app code. Just because you cannot have template code inside JS.

1 year ago 2 0 2 0
Preview
Template Tag Format - Components - Ember Guides The template tag format is a powerful, new way to write components in Ember. It's a single-file format that combines the component's JavaScript and Glimmer template code. The <template> tag is used to...

I think modern Ember nailed it. Instead of .svelte being a template with an island of JS, Ember's .gjs is JS with an island of template. Or multiple.

<template> is just a value, that you can direcly use when in scope (private internal components) or you export it.
guides.emberjs.com/release/comp...

1 year ago 7 0 3 0

First time learning about snippets I was thinking this must be a workaround due to some architectural flaw/restriction. Why do you need the concept of "snippet", if you already have one of "component"? Only because Svelte syntactically doesn't allow you to define components inside components, right?

1 year ago 1 0 2 0
Advertisement

This should have been its own post (not hidden in replies), and a blog post, and a talk! ๐Ÿ˜ƒ๐Ÿ‘

1 year ago 3 0 1 0

Love the vibe!!! ๐Ÿ’ช๐Ÿ˜†

1 year ago 2 0 0 0

Thanks, fixed it!

1 year ago 1 0 0 0

Yeah, I agree.

1 year ago 0 0 0 0
ThumbHash: A very compact representation of an image placeholder

No, the dimensions are fixed. More details at evanw.github.io/thumbhash/

BlurHash does allow that though: blurha.sh

1 year ago 1 0 1 0
ThumbHash: A very compact representation of an image placeholder

The algorithm is explained at evanw.github.io/thumbhash/

Not that I really understand it ๐Ÿ˜…

1 year ago 1 0 0 0
ThumbHash: A very compact representation of an image placeholder

Kudos to @evanwallace.bsky.social for this beautiful piece!

Find demo and docs for ThumbHash at evanw.github.io/thumbhash/

Docs for the responsive-image.dev integration at responsive-image.dev/usage/lqip#t...

1 year ago 3 0 0 0
image depicting an aurora borealis in high resolution

image depicting an aurora borealis in high resolution

a blurry placeholder encoded with ThumbHash

a blurry placeholder encoded with ThumbHash

Ever heard of ThumbHash? It's a great way to encode a blurry placeholder image into just a few bytes, 28 here. Like BlurHash but better visual quality!

Available now in responsive-image.dev for @vite.dev or webpack plugins and image components for @emberjs.com @lit.dev @solidjs.com and @svelte.dev!

1 year ago 73 12 7 2

Good question! Unpic does not have its own image processing capabilities, it requires an image CDN. ResponsiveImage supports that, too (tho not all CDNs yet), but also processing local images in your repo, with its vite and webpack plugins. That's the main differentiator I think.

1 year ago 2 0 1 0
ResponsiveImage - the JavaScript library for responsive images. Responsive images made easy. Supporting multiple frameworks, WebP, AVIF, placeholders (LQIP), Image CDNs and much more.

The responsive-image.dev family got a new member! ๐ŸŽ‰

๐Ÿ‘‰ Use the new @svelte.dev image component in your Svelte/SvelteKit app to render responsive images, either with our @vite.dev plugin to process local images or with remote images from image CDNs, or both.

responsive-image.dev

1 year ago 30 3 1 0
Advertisement