Simon Porter
@simonporter.co.uk
๐ค 119
๐ฅ 146
๐ 55
All things frontend ๐ป Software engineering at @kestrelwp, building on WooCommerce.
reposted by
Simon Porter
Astro
about 1 year ago
Astro 5.1 is now in session Introducing Astro.session, an experimental utility to share data between requests. This is for you PHP lovers. See what else we launched ๐
astro.build/blog/astro-5...
loading . . .
Astro 5.1 | Astro
Astro 5.1 is now available. This includes a new experimental sessions feature, improved caching for images, and new tools for building Astro Actions.
https://astro.build/blog/astro-510/
2
176
44
Catching up on Advent of TS day 14: It's a pretty tricky one! A pretty tricky one! Pretty tricky one! Tricky one! One! And so it begins...
about 1 year ago
0
0
0
Advent of TS - day 13. Why it pays to always read release notes. That one was painful!
about 1 year ago
0
0
0
I just stumbled upon Astro Docs Docs
contribute.docs.astro.build
what a fantastic resource! Really cool seeing the style guide laid out with explanations. Would be fun to try and contribute. Relatedly, anyone recommend some good resources for more tech writing like this?
loading . . .
Astro Docs Docs (ADยฒ)
Documentation for Contributing to Astro Docs
https://contribute.docs.astro.build/
about 1 year ago
1
3
0
Upgraded the blog to Astro 5, ez pz. Ran the migration tool and followed the (excellent) docs for legacy content collection migration. Only problem I had was the post id including the nested file path and I was using only post title before. Easily fixed during getStaticPaths() though.
about 1 year ago
0
1
0
Anyone else out here Googling bitwise operators and ELI5?
#adventofts
about 1 year ago
0
1
0
Anyone got a decent/unbiased review of the differences between hosting a blog on netlify vs vercel?
about 1 year ago
0
1
0
TIL about the inert attribute:
developer.mozilla.org/en-US/docs/W...
I love that after years and years of following web stuff, I still get to learn new things. I think I would be thoroughly bored in a role without having the space to learn and tinker.
loading . . .
inert - HTML: HyperText Markup Language | MDN
The inert global attribute is a Boolean attribute indicating that the browser will ignore the element. With the inert attribute, all of the element's flat tree descendants (such as modal <dialog>s) th...
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert
about 1 year ago
0
0
0
Never underestimate using the right tool for the right job. With so many options and strong opinions in web development, it's too easy to fall into the trap of sticking to what you know or who shouts loudest. What you know isn't always the best tool though, neither is that rando on tinternet.
about 1 year ago
0
0
0
reposted by
Simon Porter
raquel โฆ
about 1 year ago
I made this today, no reason.
4
56
14
reposted by
Simon Porter
TypeScript
about 1 year ago
๐ข TypeScript 5.7 is here! Now with โ Better checks for uninitialized variables โ Smarter tsconfig lookup in editors โ Improved startup time โ Stricter checks for JSON imports โ Extension rewrites for relative imports and more! Try it today!
devblogs.microsoft.com/typescript/a...
loading . . .
Announcing TypeScript 5.7 - TypeScript
Today we excited to announce the availability of TypeScript 5.7! If youโre not familiar with TypeScript, itโs a language that builds on JavaScript by adding syntax for type declarations and annotation...
https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/
3
354
102
Happy Monday. If it was anything like mine.
about 1 year ago
0
0
0
Tip of the week. Take a spell, even a short one, to shadow your support team or even work alongside them in the support queue. There's no better way to get to know the real users of your product, and gain empathy, which inevitably helps in all sorts of decisions going forward.
about 1 year ago
0
0
0
reposted by
Simon Porter
patak
about 1 year ago
butterfly flash mob - schedule a post to X with a single ๐ฆ - november 16, 15:00 UTC - you know the first rule of the flash mob invite your friends with your own voice: find a post on why we should move here, quote post it, copy and paste this post text, send
add a skeleton here at some point
6
65
28
To all the Safari users out there. And why do you enjoy making me suffer?
about 1 year ago
1
1
0
So if 9-5 is for work, 5-8 is for the kids, 8-12 is for the wife and house, and 12-8 is for sleep. Remind me again where do I fit in fun projects, tinkering, side hustles, and gaming? ๐ซ
about 1 year ago
0
0
0
Ooooo!
anchoreum.com
loading . . .
Anchoreum
A game for learning CSS anchor positioning
https://anchoreum.com/
about 1 year ago
0
0
0
Christmas bits going up in shops, and kids want the tree up early. So really only one thing to do. Prepare for another brutal advent of code and advent of typescript ๐ซ ๐
about 1 year ago
0
0
0
Used `git bisect` yesterday to narrow down a cause of slow rendering. Don't reach for it often but when I do, it's pretty glorious. Especially since I switched to neovim+lazygit a few months ago, lazygit is such a great halfway house between cli and full gui. 10/10 would recommend.
about 1 year ago
1
0
0
I must have shaved recently?!
add a skeleton here at some point
about 1 year ago
1
0
0
Ready for another Christmas ruined ๐คฃ all fun and games up to like day 15 and recursion hell through ๐ฒ๐ฒ๐ฒ๐ ๐ฒ๐ฒ iykyk
add a skeleton here at some point
about 1 year ago
0
0
0
Yes, niiiiiicceee
add a skeleton here at some point
about 1 year ago
0
0
0
reposted by
Simon Porter
Large Heydon Collider
about 1 year ago
๐ Testing HTML With Modern CSS (With modern CSS selectors, you can do almost all your accessibility and best practice testing in CSS itself.)
heydonworks.com/article/test...
loading . . .
Testing HTML With Modern CSS
CSS can be a great HTML testing tool, especially in 2024
https://heydonworks.com/article/testing-html-with-modern-css/
7
49
15
reposted by
Simon Porter
Wes Bos
about 1 year ago
I took the State of React Survey You should too!
survey.devographics.com/en-US/survey...
loading . . .
State of React 2024
Take the State of React survey
https://survey.devographics.com/en-US/survey/state-of-react/2024
1
80
22
reposted by
Simon Porter
Seb โ๏ธ ThisWeekInReact.com
about 1 year ago
I get more engagement here than X I can finally share dev links again without having to fight an algo
add a skeleton here at some point
10
134
4
reposted by
Simon Porter
Phil Hawksworth
about 1 year ago
I made you a little something. Help yourself to this little SVG+CSS flutter effect for your links to your
@bsky.app
account. (Psst. And publish the links to your
@bsky.app
account)
flutterby.philhawksworth.dev
loading . . .
38
365
96
Managed to squeeze in `:has()` to a customers CSS problem, and explain to them why it's useful, and they were chuffed to bits. Just out here spreading the good word ๐
about 1 year ago
0
0
0
After much messing this weekend, it kinda came down to UI libs relying on context, and Astro mostly requiring nanostores ๐ I get it, but it makes using those frameworks as islands a bit more tedious when you can't grab shad or kobalte for some quick unstyled components.
github.com/withastro/ro...
loading . . .
Make UI framework contexts available between islands ยท withastro roadmap ยท Discussion #742
Body Summary Most react based UI libraries (especially headless ones) make use of linked component nesting, where the child components rely on the parent components to exist. This does not work in ...
https://github.com/withastro/roadmap/discussions/742
about 1 year ago
1
0
0
Burned all my daily Claude credits trying to get solid-ui working in solid js astro island alongside react. Even Claude seems pretty stumped ๐
about 1 year ago
0
1
0
I see vite/vitest just joined ๐ฆ Anyone know of a starter pack for (dev) companies/products joining bsky?
about 1 year ago
0
2
0
Good morning weekend. Are we building? ๐ป Or are we gaming? ๐ฎ
about 1 year ago
1
1
0
Been setting up more tests with Playwright lately. It's such a pleasure to work with, the test recorder is great to kick start your tests. One problem we're having is with the server. Setting up a server instance isn't simple (docker, ~3 mins) so we only have one in CI. So no parallel testing?
about 1 year ago
2
2
0
Way more folks coming onboard here now eh? All the good content without having to filter 90% of everything else recommended ๐ฆ. Like it.
about 1 year ago
0
0
0
Any WooCommerce devs using AI for plugin translations? We were thinking about it earlier this year, and just read a
www.gravitykit.com/translating-...
article where they've done the same. Wondering if there's some better models to look at, or if gpt is decent enough? ๐ค
loading . . .
How we saved over $36,000 translating our plugins using ChatGPT (and how you can too!)
Our Gravity Forms add-ons are used all over the world on sites in 112 languages. For 10 years, we struggled to provide users translations in even the most
https://www.gravitykit.com/translating-wordpress-plugins-using-chatgpt/
about 1 year ago
0
0
0
Couldn't take the constant recommendations for rage bait any longer from that "other" app. Where's all the frontend community at? Astro, TypeScript, Tailwind, React - hit me up!
about 1 year ago
1
4
1
you reached the end!!
feeds!
log in