Logo
    Search

    notifications

    Explore "notifications" with insightful episodes like "7 Keys To Maximize Your Focus", "Bookmarklets", "Hasty Treat - Updating / Restarting Long-Running Web Apps", "8 Tips to Master Your Focus" and "WWDC, Sonos Beam, and Microsoft buys Github" from podcasts like ""The Mindset Mentor", "Syntax - Tasty Web Development Treats", "Syntax - Tasty Web Development Treats", "The Mindset Mentor" and "The Vergecast"" and more!

    Episodes (5)

    Bookmarklets

    Bookmarklets

    In this Hasty Treat, Scott and Wes take Matt Busche’s suggestion and talk all about bookmarklets and scripts to modify or manipulate web pages.

    MagicBell - Sponsor

    MagicBell is the the notification inbox for your product. Add a MagicBell to your product for announcements, billing, workflow, and other notifications. The free plan supports up to 100 Monthly Active Users - use the coupon code SYNTAXFM for 10% off the first 12 months.

    NAME - Sponsor

    COPY HERE

    Show Notes

    Tweet us your tasty treats

    Hasty Treat - Updating / Restarting Long-Running Web Apps

    Hasty Treat - Updating / Restarting Long-Running Web Apps

    In this Hasty Treat, Scott and Wes talk about updating web apps that have running for a long time — the problems to look out for and how to avoid them.

    LogRocket - Sponsor

    LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

    Show Notes

    01:54 - The problem

    • This only affects the client-side

    05:28 - What are some solutions:

    • Do nothing and hope the user refreshes.
    • Have a list of assets, or commit hashes. Poll the server periodically, and when there is a new version available:
      • Prompt the user to refresh
      • Just refresh the user (store current state in localstorage and restore)
    • Do a custom component, that checks the last time the user has refreshed (or if new version if available). When they click the link, render a regular instead of a pushstate link.
    • Use a service worker. They will emit an event when a new version is available. Use the above methods to refresh the user.
    • Hot code push.
      • Vuepress has “hot reloading” baked in.

    Links

    Tweet us your tasty treats!

    WWDC, Sonos Beam, and Microsoft buys Github

    WWDC, Sonos Beam, and Microsoft buys Github
    Apple’s Worldwide Developers Conference happened this week, and Nilay, Dieter, Jake, and Ashley are on top of it. Second half of the show, we’ve got Dieter’s exclusive look at the Sonos Beam, Microsoft buying GitHub, a new Fire TV thingy, and breaking news for Essential. There’s a whole lot more in between that — like Paul’s weekly segment (hosted by Jake Kastrenakes) “Hey look at this thing I just found on theverge.com“ — so if you listen to it all, you’ll get it all.  02:48 - Apple’s Worldwide Developers Conference 04:35 - Siri will soon be able to pull off multistep routines through Shortcuts 15:40 - Walkie-Talkie on the Apple Watch is a clever riff on FaceTime Audio 19:01 - Apple’s Memoji lets you create an Animoji of yourself 23:35 - Apple CarPlay will soon let you use Google Maps, Waze, and other third-party maps 25:21 - Apple will let developers port iOS apps to macOS in 2019 33:51 - The Apple TV is finally getting Dolby Atmos support 38:56 - The Essential Phone’s first new module since launch is a magnetic headphone jack 41:02 - The Beam is Sonos’ ambitious attempt to win the living room 50:40 - Amazon’s Fire TV Cube is an Echo, streaming box, and universal remote in one 55:05 - Paul’s weekly segment “Hey look at this thing I just found on theverge.com” by Jake 57:30 - Microsoft confirms it’s acquiring GitHub for $7.5 billion 1:00:07 - Facebook accused of giving over 60 device makers inappropriate access to user data 1:06:06 - Instagram might soon let you post videos up to an hour long 1:09:48 - California’s net neutrality bill could set a national standard Learn more about your ad choices. Visit podcastchoices.com/adchoices