React 19 is huge. Here's a cheat sheet.
Nine new features:
1. React Server Components - Components that render at build time, or for each request.
2. Actions - Functions that use async transitions and automatically submit data for you. Actions support error handling, optimistic updates, and pending state.
3. Full custom element support
4. Document metadata support - Render title, link, and meta tags and they automatically hoist.
5. Stylesheets with precedence settings
6. Render async scripts in any component - They're automatically deduplicated
7. Preload resources via prefetchDNS, preconnect, preload, preinit
8. Unexpected tags in <head> and <body> are skipped over - Improves third-party script compatibility and avoids mismatch errors
9. Better error reporting - Automatically removes duplicate errors. Added onCaughtError and onUncaughtError root options.
Two new directives:
1. 'use client' marks code that runs only on the client.
2. 'use server' marks server-side functions that can be called from client-side code.
Six new APIs:
1. use - Read resources (like promises and context) in render
2. ref as a prop - refs are finally just a plain prop!
3. ref callbacks support returning a cleanup function
4. Streamlined Context - Use <Context> instead of <Context.Provider>
5. useDeferredValue - Now accepts an initial value too
3 new hooks:
1. useActionState - Declare form state and degrade gracefully if JS hasn't executed yet
2. useFormStatus - Get a form’s status
3. useOptimistic - Show the final state optimistically while an async request is underway
@TPLINK hey guys! Having this issue with my Tapo devices ( all of them) - latest iOS firmware, and app version. The automations don't run at the time selected, history's shows they did, and I can't access them anymore. Also, the feedback form is dead... welp?
@kailoon Used one, returned it in a couple of days. Curvature is not enough and makes me feel like I'm looking at the screen from a very weird angle. Still prefer rocking 3 external displays.
🔥It's official🔥
👿Evil Apple is back, and it's killing PWAs on iOS for EU users🇪🇺
"To comply with the DMA’s requirements, we had to remove the Home Screen web apps feature in the EU.
-"Very low user adoption of Home Screen web apps"
-"Minimal impact to their functionality"
I was laid off from Twitter today. I was the designer in charge of our new rebranding to X.
I learned so much in my 2.5 weeks at the company but I’m excited to see where I land next.
If you’re hiring a self taught, junior designer please DM me. Graphic design is my passion!
What if the macOS dock and its icons were more dynamic and fluid?
Made a little demo that shows message previews, live music, download progress, and more.
Pretty happy with how this turned out!
@jensimmons@argyleink I'm wondering. Will this also work in PWA mode for iOS for the Notch and Dynamic island? I'm guessing dvh is what I'm looking for, yet, not sure? 😊
@manuel_frigerio Seriously? And if I already work as a senior dev and just wanna change jobs? The amount of Git commits you have doesn't reflect your skill level or your commitment level... 🙄
Web Push on iOS and iPadOS 16.4 beta 1
🚫Not available in Safari
🚫Not available in third-party browsers
🚫Not available in Web Views
✅Available on PWAs installed in the home screen using the A2HS action from:
a) Safari's classic share menu
b) Third-party browsers' share menu🆕