0.0.21-alpha • Published 10 months ago

lean-jsx v0.0.21-alpha

Weekly downloads
-
License
MPL-2.0
Repository
-
Last release
10 months 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.22-alpha.9

10 months ago

0.0.22-alpha.4

10 months ago

0.0.22-alpha.7

10 months ago

0.0.22-alpha.8

10 months ago

0.0.22-alpha.5

10 months ago

0.0.22-alpha.6

10 months ago

0.0.22-alpha.3

10 months ago

0.0.22-alpha.1

10 months ago

0.0.22-alpha.2

10 months ago

0.0.21-alpha

1 year ago

0.0.20-alpha

1 year ago

0.0.19-alpha

1 year ago

0.0.18-alpha

1 year ago

0.0.17-alpha

1 year ago

0.0.16-alpha

1 year ago

0.0.15-alpha

1 year ago

0.0.14-alpha

1 year ago

0.0.13-alpha

1 year ago

0.0.11-alpha

1 year ago

0.0.12-alpha

1 year ago

0.0.10-alpha

2 years ago

0.0.9-alpha

2 years ago

0.0.8-alpha

2 years ago

0.0.7-alpha

2 years ago

0.0.6-alpha

2 years ago

0.0.5-alpha

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago