Better HN
topnewbestaskshowjobs
Log inSign up

bensmithett

13 karma · joined Jun 29, 2013 (13y ago) · 16 submissions

Submissions

comment 2y ago · link · parent

I also mulled over this weird idea a while back!

https://github.com/bensmithett/coexist

comment 2y ago · link · parent

> mostly static site that might want occasional islands of interactivity

is exactly what I made this for https://github.com/bensmithett/tropical-utils/tree/main/pack...

It’s a little more verbose and doesn’t quite have the ergonomics of Astro client:* directives, but it does the trick for me.

comment 4y ago · link · parent

Most introductory stuff on responsive images seems to assume you’ll manually create some images and put them next to a handwritten HTML file somewhere. I hadn’t seen these more realistic options written down together in one place, so I wrote them down.

4.

Show HN: A pattern for SSR JavaScript pages from non-JS frameworks like Rails(github.com ↗)

7 points · by bensmithett · 5y ago · discuss

5.

Show HN: Simple islands architecture library for partial React hydration(npmjs.com ↗)

1 points · by bensmithett · 5y ago · discuss

comment 5y ago · link · parent

I rejigged my little static site generator, swapping out a bunch of custom Webpack stuff for Vite.

Vite does a lot more out of the box, and its dev server approach is so fast, but there’s still a bunch of stuff to wire up to make a real website (SSR/prerendering, Storybook with its new Vite builder, MDX, layouts, pages, a feed, a client bootstrapping/hydrating approach, etc). That’s what I’ve wrapped up into Tropical.

7.

Show HN: Tropical, a Vite-powered “islands architecture” static site generator(tropical.js.org ↗)

5 points · by bensmithett · 5y ago · 2 comments

8.

Show HN: San Blas – a flexible, component-first static site generator(sanblas.netlify.com ↗)

4 points · by bensmithett · 7y ago · discuss

9.

Testing Flux Stores Without Jest(bensmithett.com ↗)

1 points · by bensmithett · 11y ago · discuss

comment 12y ago · link · parent

We're using it for a basic responsive grid on some Envato Market pages: https://themeforest.net/make_money/become_an_author

11.

BEM modifiers: multiple classes vs. extend(bensmithett.com ↗)

1 points · by bensmithett · 12y ago · discuss

12.

Goodbye Compass(bensmithett.com ↗)

1 points · by bensmithett · 12y ago · discuss

13.

Server-rendered React components in Rails(bensmithett.com ↗)

1 points · by bensmithett · 12y ago · discuss

14.

Dragster: Better HTML5 drag events(bensmithett.github.io ↗)

3 points · by bensmithett · 13y ago · discuss

15.

Stop using so many Sass variables(bensmithett.com ↗)

2 points · by bensmithett · 13y ago · discuss