More Premium Hugo Themes Premium Svelte Themes

Svelte Htm

tagged template syntax for svelte to simplify testing

Svelte Htm

tagged template syntax for svelte to simplify testing

Author Avatar Theme by kenoxa
Github Stars Github Stars: 27
Last Commit Last Commit: Nov 8, 2022 -
First Commit Created: Dec 18, 2023 -
Svelte Htm screenshot

Overview

The svelte-htmHyperscript Tagged Markup for svelte is a tool that allows developers to write svelte components in a jsx-like syntax using Standard JavaScript Tagged Templates. It works in all modern browsers and in node. This tool is particularly useful for testing svelte components.

Features

  • Write svelte components in jsx-like syntax in Standard JavaScript Tagged Templates
  • Works in all modern browsers and in node
  • Allows for reactivity using stores
  • Action properties lack the possibility to pass parameters to the action

Installation

To install the svelte-htmHyperscript Tagged Markup for svelte, follow these steps:

  1. Import it into your project.
  2. Alternatively, you can use the UNPKG or jsDelivr packages with script tags and globals.
  3. You can also hotlink it from UNPKG without needing a build tool.

Summary

The svelte-htmHyperscript Tagged Markup for svelte is a tool that simplifies the process of writing svelte components in a jsx-like syntax using Standard JavaScript Tagged Templates. It provides reactivity using stores and offers feasible workarounds for cases where svelte features are not fully supported. This tool is open-source and licensed under the MIT license.