awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
starfederation avatar

starfederation/datastar

0
View on GitHub↗
3,971 stars·198 forks·TypeScript·mit·7 vuesdata-star.dev↗

Datastar

Datastar is a framework for hypermedia application development that enables the creation of reactive user interfaces using declarative HTML attributes. It focuses on server-driven state management, offloading application logic and state transitions to the backend to reduce frontend complexity.

The project distinguishes itself through real-time UI streaming, using Server-Sent Events to push incremental DOM patches and state changes over a single long-lived connection. It synchronizes frontend and backend state by applying partial JSON updates to a client-side signal store and employs morphing-based DOM reconciliation to update the view while preserving element state and focus.

The framework covers a broad set of capabilities, including signal-based reactive state, sandboxed expression evaluation for dynamic attribute and class management, and the ability to execute remote scripts delivered from the server. It also provides tools for binding browser events to JavaScript expressions and connecting reactive signals to web components.

Features

  • UI Push Updates - Provides real-time delivery of server-side updates to modify user interface elements via Server-Sent Events.
  • Server-Driven State Management - Offloads application logic and state transitions to the backend to reduce frontend complexity.
  • State Signal Patching - Updates frontend reactive signals using JSON Merge Patch delivered via HTTP or Server-Sent Events.
  • DOM Reconciliation - Employs a morphing-based reconciliation engine to update the DOM while preserving element state and focus.
  • Event Bindings - Executes JavaScript expressions in response to native DOM events via declarative syntax.
  • JSON State Synchronization - Synchronizes frontend and backend state using JSON payloads and partial updates.
  • Event Listeners - Binds custom logic to standard DOM events using HTML attributes.
  • Reactive UI Updates - Automatically updates user interface elements and signals in response to streaming server-sent events.
  • Reactive User Interfaces - Creates dynamic user interfaces that automatically synchronize their state with server-driven updates.
  • Signal-Based Reactivity - Uses a signal-based reactivity system to track state and trigger granular UI updates.
  • Attribute Binding - Implements a system for dynamically configuring element attributes using reactive expressions.
  • Backend Action Triggering - Provides declarative HTML attributes to trigger server-side logic using standard HTTP methods.
  • Computed State - Generates read-only reactive signals derived from expressions that update automatically when dependencies change.
  • Declarative UI Interactivity - Creates interactive user interfaces using declarative HTML attributes instead of imperative JavaScript.
  • DOM Morphing - Updates or removes HTML elements using a morphing strategy to maintain client-side state and performance.
  • Event Binding - Maps browser events to reactive expressions using declarative HTML attributes.
  • Hypermedia-Driven Development - Implements a hypermedia-driven architectural approach to build interactive web applications.
  • Reactive Expression Evaluation - Provides sandboxed JavaScript evaluation within HTML attributes to compute dynamic values from reactive signals.
  • Logic Offloading - Moves application logic and state transitions to the backend to reduce frontend complexity.
  • SSE-Driven DOM Patching - Streams incremental HTML fragments over a long-lived Server-Sent Events connection to update the UI.
  • Over-the-Air Update Services - Uses Server-Sent Events to incrementally update the user interface without page reloads.
  • Surgical DOM Update Engines - Updates only the modified parts of the DOM tree to improve rendering performance.
  • Real-time Event Streams - Transmits multiple events over a single connection to trigger incremental interface updates or scripts.
  • Dynamic Class Management - Conditionally applies or removes CSS classes based on the evaluation of reactive expressions.
  • Reactive Text Updates - Enables elements to automatically update their text content based on the current value of reactive signals.
  • Global State Managers - Defines globally accessible reactive state variables using declarative HTML attributes.
  • State Bindings - Synchronizes HTML input elements with reactive signals to maintain consistency between UI and state.
  • Reactive Visibility Toggling - Toggles the visibility of HTML elements based on whether a reactive expression evaluates to true or false.
  • Declarative DOM Frameworks - Uses declarative attributes to manage both the DOM state and application state from the server.
  • Declarative JavaScript Execution - Enables the invocation of encapsulated JavaScript functions directly through declarative HTML attributes.
  • Backend-Driven Updates - Morphs existing HTML elements based on backend responses to change content while preserving state.
  • Expression Sandboxes - Provides a sandboxed environment to safely evaluate JavaScript expressions within HTML attributes.
  • Remote Script Execution - Enables the execution of JavaScript delivered from the server via content types or SSE.
  • State and Element Patching - Modifies HTML elements and frontend state signals based on responses driven by the backend server.
  • State-Aware Backend Requests - Sends the current application state with every server request to ensure the backend maintains full context.
  • DOM State Preservation - Preserves client-side element state and focus while updating parts of the page from server responses.
  • Reactive Signal Bindings - Connects reactive signals to custom element attributes and responds to events dispatched by web components.

Historique des stars

Graphique de l'historique des stars pour starfederation/datastarGraphique de l'historique des stars pour starfederation/datastar

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Datastar

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Datastar.
  • vuejs/v2.vuejs.orgAvatar de vuejs

    vuejs/v2.vuejs.org

    4,981Voir sur GitHub↗

    This is the comprehensive documentation website for the Vue 2 progressive JavaScript framework. It serves as a technical reference and development guide for building reactive user interfaces and single-page applications. The site provides a detailed JavaScript API reference and a web component directory. It covers the implementation of component-based architectures, reactive state management, and the use of a virtual DOM to synchronize application state with the browser. The documentation details capabilities including client-side routing, declarative DOM manipulation, and frontend build opt

    JavaScript
    Voir sur GitHub↗4,981
  • facebook/reactAvatar de facebook

    facebook/react

    245,669Voir sur GitHub↗

    React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional data flow.

    JavaScriptjavascriptuifrontend
    Voir sur GitHub↗245,669
  • bigskysoftware/intercooler-jsAvatar de bigskysoftware

    bigskysoftware/intercooler-js

    4,787Voir sur GitHub↗

    Intercooler-js is a declarative AJAX framework and server-driven UI library. It functions as a hypermedia web framework that enables the creation of single-page experiences by replacing specific DOM elements with HTML fragments delivered from a server. The library distinguishes itself by using HTML attributes to map DOM elements to server endpoints, allowing for asynchronous HTTP requests and DOM updates without manual scripting. It supports a hypermedia-driven architecture where the server controls the client state through response headers and the delivery of annotated HTML fragments. The p

    HTMLfront-endhtmljavascript
    Voir sur GitHub↗4,787
  • day8/re-frameAvatar de day8

    day8/re-frame

    5,532Voir sur GitHub↗

    re-frame is a functional framework for building single-page applications in ClojureScript. It provides a centralized, immutable database that serves as the single source of truth for the entire application state, enforcing a strict unidirectional data flow where events trigger state transitions and subsequent view updates. The framework distinguishes itself through a reactive signal graph and an interceptor-based middleware pipeline. By treating application logic as a sequence of data-driven events and declarative side effects, it decouples business logic from the view layer. This architectur

    Clojureclojurescriptre-framereact
    Voir sur GitHub↗5,532
Voir les 30 alternatives à Datastar→

Questions fréquentes

Que fait starfederation/datastar ?

Datastar is a framework for hypermedia application development that enables the creation of reactive user interfaces using declarative HTML attributes. It focuses on server-driven state management, offloading application logic and state transitions to the backend to reduce frontend complexity.

Quelles sont les fonctionnalités principales de starfederation/datastar ?

Les fonctionnalités principales de starfederation/datastar sont : UI Push Updates, Server-Driven State Management, State Signal Patching, DOM Reconciliation, Event Bindings, JSON State Synchronization, Event Listeners, Reactive UI Updates.

Quelles sont les alternatives open-source à starfederation/datastar ?

Les alternatives open-source à starfederation/datastar incluent : vuejs/v2.vuejs.org — This is the comprehensive documentation website for the Vue 2 progressive JavaScript framework. It serves as a… facebook/react — React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional… bigskysoftware/intercooler-js — Intercooler-js is a declarative AJAX framework and server-driven UI library. It functions as a hypermedia web… day8/re-frame — re-frame is a functional framework for building single-page applications in ClojureScript. It provides a centralized,… lit/lit — Lit is a library for building lightweight, interoperable web components. It provides a base class that leverages… solidjs/solid — Solid is a declarative JavaScript framework for building user interfaces through fine-grained reactivity. By utilizing…