Twitter | Search | |
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ
core developer. Creator of Preact-Devtools. I love minimal and clear things πŸ‘
4,149
Tweets
274
Following
2,326
Followers
Tweets
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ 12h
New blog post is up πŸš€ challenged me to a little code golf challenger for the new Store container of StencilπŸ’«
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ 12h
Replying to @manucorporat
Aww thank you so much❀️
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ retweeted
Manu Mtz.-Almeida 13h
I knew Marvin would came up with something! His talk "The Art of deleting Code" was another great inspiration for me ❀️
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ 14h
Didn't spend too much time on it, but found some low hanging fruit that saves a bit here and thereπŸ‘
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ retweeted
swyx 23h
Colin - because of your one comment on the livestream about using `class` insetad of `className` - i went down a deep rabbit hole at first using TypeScript but then eventually having to fork Next.js's styled-jsx plugin because it overwrites `class`...
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ retweeted
Kristofer Baxter Apr 4
Personal software engineering motto: Avoid magic.
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ retweeted
Colin van Eenige Apr 3
The profiler in Preact Devtools said my application was hydrated in 8ms, which is absolutely insane.. Using render in this case (without SSR) isn't significantly slower either. πŸ”₯πŸ’―
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ retweeted
swyx Apr 1
i have been using ’s setup for preact + nextjs to build a CMS and amazingly have had no Preact issues at all... even react libraries are working seamlessly with it! such amazing stuff.
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 3
I'm not sure what you mean with "a router for nested JSON". What's your use case like?
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 3
Replying to @swyx @JoviDeC and 3 others
Yeah, it was too much work for us to keep pretending to be a React renderer. That's why we decided after weeks of trying to write our ownπŸ‘ If you come across any issues feel free to reach outπŸ’―
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 3
Behold: The admin dashboard stackoverflow uses to manage all accountsπŸ™ƒ
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ retweeted
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 3
Fun fact: window.scrollTo() supports smooth scrolling out of the boxπŸŽ‰ See: window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 3
Fun fact: window.scrollTo() supports smooth scrolling out of the boxπŸŽ‰ See: window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ retweeted
Domenic Denicola Apr 2
is an amazing writeup, finding terrible corners of the and then finding corners of those corners which were not implemented correctly. blob:/data: URLs + iframe sandbox + X-Frame-Options + pushState, document.write = exploit.
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 2
Call window.scrollTo(0,0); inside your onClick function or schedule it via useEffect.
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 2
Wait until you see the browser stats of insurance companies. They are in the same boat and sometimes even worse offπŸ™ƒ
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 2
Love how much care and attention the edge team is spending on the core browsing experience πŸ™Œ Scrolling is a very integral part of that and something I notice immediately when switching browsers/OSes etcβ™₯️
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 2
A great view at the (home)-office is invaluable. For me it increases my productivity by a lot and makes me a lot happierπŸ‘
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ retweeted
Fernando Doglio Apr 1
"Show Dev: RaspberryPi Weather β›ˆ fuelled by Netlify functions and Preact" by moi gonzalez (he/him)
Reply Retweet Like
Marvin Hagemeister βš›οΈ πŸ‡©πŸ‡ͺ Apr 1
βš›οΈ Preact Devtools 0.2.1 is out now πŸ™Œ - πŸš€ Much improved element picker (!!) - πŸ“¨ Better filtering - 🩳 Refreshed design - 🐞 Way more robust connection handling Get it now: πŸ’«
Reply Retweet Like