Skip to content

Conversation

@agubler
Copy link
Member

@agubler agubler commented Jul 17, 2020

Type: feature

The following has been addressed in the PR:

Description:

Moves the JSX typings to the tsx function namespace and avoid clashes on the global namespace, this enables using Dojo with TSX with other frameworks that support TSX. Technically this is not a breaking change as the tsx function always needs to be imported as import { tsx } from '@dojo/framework/core/vdom';

Resolves #46

@agubler agubler requested a review from matt-gadd July 17, 2020 08:56
@agubler agubler added area: core Core enhancement New feature or request needs back-port The fix requires back porting to one or more previous major versions labels Jul 17, 2020
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 17, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3b2e33c:

Sandbox Source
dojo/dojo-codesandbox-template Configuration

@agubler agubler merged commit e290907 into dojo:master Jul 21, 2020
agubler added a commit to agubler/framework that referenced this pull request Jul 22, 2020
@agubler agubler mentioned this pull request Jul 22, 2020
3 tasks
agubler added a commit that referenced this pull request Jul 22, 2020
* Fix types for insert after/before (#802)

Change insertBefore/After to allow any template children rather than typing based on the targeted node.

* Fix: Rendering for multiple nested `head` and `body` nodes (#812)

* failing unit test for nested body and head tags

* skip head or body node when finding insert before node

* move JSX types to tsx namespace (#818)

* fix unit test that was missed on master

Co-authored-by: Bradley Maier <bmaier@sitepen.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Core enhancement New feature or request needs back-port The fix requires back porting to one or more previous major versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move JSX types to local namespace

2 participants