Commit graph

7 commits

Author SHA1 Message Date
e319626a1a chore: replace eslint & prettier w/ biomejs (#21)
* chore: replace eslint & prettier w/ biomejs

* fix syntax error in ci.yml workflow

* ensure that build CI jobs only run if check job succeeds to save resources
2024-07-15 08:36:52 -07:00
eef25d360d feat: add dangerouslySetInnerHTML attr
This adds are new attribute to Elements, "dangerouslySetInnerHTML", which like the same attribute from React allows one to take a stirng of unescaped HTML and render it unconditionally. This is of course a potentially dangerous operation that can open your app up to XSS attacks, but for interoperating with existing content management systems and libraries that output HTML (e.g. markdown renderers).

Using "dangerouslySetInnerHTML" on an element with children will generate an error within createElement, since it doesn't make sense to have both children and inner HTML.
2021-01-02 21:24:17 -08:00
45d96fae9f chore: update * pin prettier version & format code 2021-01-02 13:40:18 -08:00
5930d10efc feat: provide Fragment component
Adds a new Fragment component that provides the same functionality as
React.Fragment. See issue #9 for details.

closes issue #9
2020-06-04 11:25:34 -07:00
206c58ab88 feat: support rendering array elements 2020-06-02 16:39:44 -07:00
b32d2a2d8d fix: support number elements in jsx templates 2020-06-02 15:38:39 -07:00
9e9842dc8c initial commit (it all starts here...) 2020-05-25 22:36:20 -07:00