0.0.21-alpha • Published 1 month ago

lean-jsx v0.0.21-alpha

Weekly downloads
-
License
MPL-2.0
Repository
-
Last release
1 month ago

LeanJSX

License Version

Overview

LeanJSX is a server-driven library that allows you to build HTML components using JSX-like syntax, but without relying on hefty client-side JavaScript libraries or frameworks.

Features

  • Server-Driven: Everything runs on the server, minimizing the JavaScript payload.
  • Streamable: Outputs HTML in chunks for quicker time-to-first-byte and faster rendering.
  • Asynchronous Components: Supports async component functions, rendering placeholders while fetching the actual content.
  • Event Handling: Converts JSX-like event attributes to JavaScript snippets for client-side interactivity.

Getting Started

Installation

To create a project using LeanJSX, use the create-lean-jsx-app generator:

npx create-lean-jsx-app@latest <dir>

Replace <dir> with the name of the directory you want the generator to create with the project

Usage documentation

You can find the usage documentation for LeanJSX here: https://lean-web.github.io/lean-jsx/

0.0.21-alpha

1 month ago

0.0.20-alpha

1 month ago

0.0.19-alpha

1 month ago

0.0.18-alpha

1 month ago

0.0.17-alpha

1 month ago

0.0.16-alpha

3 months ago

0.0.15-alpha

3 months ago

0.0.14-alpha

3 months ago

0.0.13-alpha

3 months ago

0.0.11-alpha

3 months ago

0.0.12-alpha

3 months ago

0.0.10-alpha

5 months ago

0.0.9-alpha

5 months ago

0.0.8-alpha

5 months ago

0.0.7-alpha

6 months ago

0.0.6-alpha

6 months ago

0.0.5-alpha

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago