Monday, May 2, 2022

Show HN: I made a JavaScript library to turn MPA to SPA https://ift.tt/JSeclLu

Show HN: I made a JavaScript library to turn MPA to SPA I've always been fascinated by projects like Turbo Drive (formerly turbolinks), which attempt to bring Single Page (SPA) like navigation to Multi Page (MPA) web applications. I recently shared my work on Million.js (https://ift.tt/X7mFs3R), which is a modern take on Virtual DOM. Since Million.js internally uses a diffing algorithm, I decided to try and see if I could implement my own version of Turbo Drive, based on another diffing algorithm (micromorph). Here's me integrating into an existing open source project: https://ift.tt/N5nycvF It supports anchor tags, form submission, prefetching, and we're currently exploring more advance techniques with web workers and FLIP here! https://ift.tt/h0sw4QK I'm just really excited about this topic and I thought I'd share it to HN to see if any of you all have any suggestions :) May 2, 2022 at 11:26AM

No comments:

Cybersecurity Career Week October 16-21, 2023

Join us in Observing Cybersecurity Career Week October 16-21, 2023 nist.gov/nice/ccw What is it? Cybersecurity Career Awareness Week is a ca...