hyperview VS spx

Compare hyperview vs spx and see what are their differences.

hyperview

Server-driven mobile apps with React Native (by Instawork)

spx

⚡ Single Page XHR for enhancing SSR powered web applications. (by panoply)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
hyperview spx
22 1
1,062 37
4.4% -
9.1 9.3
16 days ago 12 days ago
TypeScript TypeScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

hyperview

Posts with mentions or reviews of hyperview. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-22.
  • Form to DB
    6 projects | news.ycombinator.com | 22 Feb 2024
  • Show HN: Htmx Playground
    2 projects | news.ycombinator.com | 13 Jan 2024
  • Is Htmx Just Another JavaScript Framework?
    9 projects | news.ycombinator.com | 11 Jan 2024
    Is english your first language? I feel like many of your objections, insofar as I can make sense of them, fall into language & semantic debates.

    The term HDA, which I coined and, therefore, feel like I have some ability to define, was created to contrast with the familiar SPA/Single Page Application acronym, which is a term used in web development. This is why I focus on the web with that article.

    As I have repeated incessantly with you, I included HXML, a mobile hypermedia from the https://hyperview.org project, in my book on hypermedia systems, and I hope this indicates to a fair minded 3rd person (I have given up on you acknowledging my plain language here) that I do not believe that HTML is the only hypermedia in the world.

  • Ask HN: Is React Native still popular?
    2 projects | news.ycombinator.com | 2 Dec 2023
    I've really enjoyed using Hyperview (https://hyperview.org/) recently, which uses React Native as a base. I used to think PWA/Ionic/Capacitor apps were better, but have really fallen in love with the simplicity of Hyperview and tools like HTMX.
  • Strada Released
    4 projects | news.ycombinator.com | 20 Sep 2023
  • Htmx is part of the GitHub Accelerator
    12 projects | news.ycombinator.com | 16 Aug 2023
    there already is!

    https://hyperview.org/

    Adam Stepinski, the creator of Hypreview, built it after his experience with intercooler.js, the predecessor to htmx. It is a very interesting piece of technology and, through the magic of HATEOAS, allows you to update your mobile app instantly for all your users, without dealing with the mobile store!

    There is an entire section on Hyperview, written by Adam, in part three of our book:

    https://hypermedia.systems/book/contents/

  • htmx/Go experiences?
    4 projects | /r/golang | 8 Jul 2023
  • Any books that cover the current state of webdev?
    3 projects | /r/learnprogramming | 27 Jun 2023
    it's about hypermedia, https://htmx.org/, and https://hyperview.org/ , which have a focus on removing complexity
  • Chris James -HTMX is the Future
    1 project | /r/javascript | 8 May 2023
    [1] There is Hyperview but it's super new.
  • Htmx Is the Future
    9 projects | news.ycombinator.com | 5 May 2023
    i am the creator of htmx, this is a great article that touches on a lot of the advantages of the hypermedia approach (two big ones: simplicity & it eliminates the two-codebase problem, which puts pressure on teams to adopt js on the backend even if it isn't the best server side option)

    hypermedia isn't ideal for everything[1], but it is an interesting & useful technology and libraries like htmx make it much more relevant for modern development

    we have a free book on practical hypermedia (a review of concepts, old web 1.0 style apps, modernized htmx-based apps, and mobile hypermedia based on hyperview[2]) available here:

    https://hypermedia.systems

    [1] - https://htmx.org/essays/when-to-use-hypermedia/

    [2] - https://hyperview.org/

spx

Posts with mentions or reviews of spx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-15.
  • A Real World React – Htmx Port
    6 projects | news.ycombinator.com | 15 Oct 2022
    I do indeed. The project is called SPX (Single Page XHR) which is a play on the SPA (Single Page Application) naming convention. The latest build is available on the feature branch: https://github.com/panoply/spx/tree/feature - You can also consume it via NPM: pnpm add spx (or whichever package manager you choose) - If you are working with Stimulus, than SPX can be used instead of Turbo and is actually where you'd get the best results, as Stimulus does a wonderful job of controlling DOM state logic, whereas SPX does a great job of dealing with navigation.

    I developed it to scratch an itch I was having with alternatives (like Turbo) that despite being great are leveraging a class based design pattern (which I don't really like) and others which are similar were either doing too much or too little. Turbo (for example) fell short in the areas pertaining to prefetch capabilities and this is the one thing I really felt needed to be explored. The cool thing with SPX which I was able to achieve was the prefetching aspect and I was surprised no-one had ever really tried it or if they did the architecture around it seemed to be lacking or just conflicting to some degree.

    A visitors intent is typically predictable (to an extent) and as such executing fetches over the wire and from here storing the response DOM string in a boring old object with UUID references is rather powerful. SPX does this really efficiently and fragment swaps are a really fast operation. Proximity prefetches are super cool but also equally as powerful are the intersection prefetches that can be used. If you are leveraging hover prefetches you can control the threshold (ie: prefetch triggers only after x time) and in situations where a prefetch is in transit the module is smart enough to reason with the queue and prioritise the most important request, abort any others allowing a visit to proceed un-interruped or blocking.

    In addition to prefetching, the module provides various other helpful methods, event listeners and general utilities for interfacing with store. All functionality can be controlled via attribute annotation with extendability for doing things like hydrating a page with newer version that requires server side logic and from here executing targeted replacements of certain nodes that need changing.

    Documentation is very much unfinished (I am still working on that aspect) the link in readme will send you to WIP docs but if you feel adventurous, hopefully it will be enough. The project is well typed, rather small (8kb gzip) and it is easy enough to navigate around in terms of exploring the source and how everything works.

    Apologise for this novel. I suppose I get a little excited talking about the project.

What are some alternatives?

When comparing hyperview and spx you can also consider the following projects:

idiomorph - A DOM-merging algorithm

hieros - Egyptian hieroglyps and Eurasian languages

htmx - </> htmx - high power tools for HTML

pjax-api - The advanced PJAX superior to SPA.

AdaptiveCards - A new way for developers to exchange card content in a common and consistent way.

htmx-components - 🧩 Async HTMX + JSX

DivKit - DivKit is an open source cross-platform Server-Driven UI (SDUI) framework for iOS, Android, and Web. SDUI is a an emerging technique that leverage the server to build the user interfaces of their mobile app

dynamic_widget - A Backend-Driven UI toolkit, build your dynamic UI with json, and the json format is very similar with flutter widget code.

applin-ios - Applin™ iOS Client Library

hotwire-golang-website - This project provides some working examples using Go and Hotwire Turbo.

json_dynamic_widget