developit / developit/htm

possibility to return monomorphic shape?

Open
#246 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9k
Forks
181
PR merge metrics
No merged PRs in 30d

Description

The babel plugin has a "monomorphic" option to always return options, but it seems like htm proper (or possibly that's the preact integration) returns raw children.

Is there some way to have `htm` always return objects?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.