Luke Edwards
Luke Edwards
Just to confirm βΒ that _should_ be the fix since Polka is setting `req.path` which [`sirv` then respects & uses, preventing its own decode](https://github.com/lukeed/sirv/blob/master/packages/sirv/index.js#L163). Your directory name should contain the...
Feel free to build on it or pull it in as a dependency. It had to live as its own thing (I didn't care where) so that it was easily...
Hey, it's just my own preference. Before css modules/CSS-in-JS came along, this was the norm. I'd venture to say that in most circles, this still _is_ the norm.
Yes, but your styles structure would (generally) match your views structure. Just another way of doing things. Has no issue scaling in my experience. =] The `preact-boilerplate` is nearly identical...
I might write a blog post on this π²π I'm really against the practice in general. // cc @zouhir
Haha, I haven't used Preact SSR recently, else I'd have pushed one out π In the meantime, you can use [this](https://github.com/ezekielchentnik/preact-pwa). It's become quite popular since the time I released...
News? Yes. Repo? No. π This has revealed itself as a pain-point with many teams, and so I've decided to turn this into a Next.js-inspired approach. It's a larger undertaking,...
Here's the workaround I'm using: ```html {#if $$slots.header} {/if} header { padding: 16px; /* ... */ } header:empty { display: none; } ``` This means that when you have something...
I think this is missing the ability to mount a Component inside a slot? ```js new Parent({ target: document.body, props: { ... }, slots: { // Parent has all info...
This is what I ended up with, and is working for me already: ```js new Parent({ target: document.body, props: { $$scope: {}, $$slots: create({ default: [ Child ], // Or...