Understand console errors with #Gemini is now available in US and a few supported regions!
Follow these steps to enable it 👉 https://t.co/ff2S943BXX
#ChromeDevTools
Suuuper handy new CSS:
:user-invalid and :user-valid pseudo selectors let you style inputs only once they have been interacted with
Just landed in Chrome + Safari, been in Firefox for years.
Here is a neat new API that is starting to hit browsers!
The CSS Custom Highlight API.
Highlight text on the page without having to wrap in a <mark> or <span>
📢 Yesterday, we released an experimental react-query-nextjs package for the app directory. Wrap your app in the <ReactQueryStreamedHydration> component to enjoy direct useQuery fetches on the server with suspense, which streams to the client 🎉
Example: https://t.co/6OspySSzEY
Safari 17 for web and PWA devs
🎁<model> for 3D and AR files
🍿popover
🕛HTTP Early Hints
🌆HEIC/HEIF/JPEG XL
🎥Managed Media Source
🔔Web Push per profile
🫙Storage API
💧ReadableStream
🔝Fetch Priority Hints
👩💻Web App install on macOS
📦PWA Install from SFViewController
🔥 TypeScript Tip 🔥
Building your own VSCode extension from scratch is pretty easy to get started with!
Here's a working setup and a few tips in less than 90 seconds.
I have a lot of respect for the work the Astro team has been doing, but I want to share some important caveats that everyone should be aware of when reading, and especially publishing this kind of reports: (0/n)
React tip: Keep state as "low" as possible.
Example: If state is just passed down to one child, it's too high.
Solution: Move the state down to the child.
Benefits:
✅ Avoids needlessly passing props
✅ Protects state from accidental changes
✅ Makes each component easier to understand
✅ Improves performance (avoids parent re-renders)
#react
🚨Today is Apple's PWA Day!🚨
Safari on iOS and iPadOS 16.4 b1 adds support for:
💌Web Push!-⚠️for installed PWAs only
🔢Badging
🆔Manifest ID with a twist
⬇️PWA installation from Third-Party browsers
👁️Screen Wake Lock
🌄Screen Orientation
🧑🦰User Activation
🎥Web Codecs
Tip: use fetchpriority to speed up your apps
fetchpriority accepts values low, high and auto and lets you hint the browser with what priority it should load a resource
‣ Set high priority for your LCP image
‣ Low priority for nonessential resources
📚 https://t.co/WIE9i2KCRH