Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support JSX-Fragments with custom jsxFactory聽#20469

Copy link
Copy link
@marvinhagemeister

Description

@marvinhagemeister
Issue body actions

Really love the new JSX-Fragment syntax. It's great 馃挴

I was wondering if we could enable it for custom jsxFactory in the future. I'd really love to use this feature outside of react 馃憤

Use cases
Basically any non-react framework that works with jsx (mithril, preact, custom ones...).

Current workaround:

// my-library.ts
import { h, Fragment }from "./my-library";

export const React = {
  createElement: h,
  Fragment,
}
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.