Skip to content

Commit

Permalink
fix(cdk): jsx support conflicts with React usage (#884)
Browse files Browse the repository at this point in the history
Fixes #830

BREAKING CHANGE

The CDK is no longer shipped with built-in support for JSX.
You can still use JSX but you will have to manually configure it.
  • Loading branch information
Elad Ben-Israel authored and RomainMuller committed Oct 10, 2018
1 parent 96767d7 commit 8824356
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 173 deletions.
81 changes: 0 additions & 81 deletions packages/@aws-cdk/cdk/lib/core/jsx.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/@aws-cdk/cdk/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export * from './core/construct';
export * from './core/tokens';
export * from './core/tag-manager';
export * from './core/jsx';

export * from './cloudformation/cloudformation-json';
export * from './cloudformation/cloudformation-token';
Expand Down
76 changes: 0 additions & 76 deletions packages/@aws-cdk/cdk/test/core/test.jsx.tsx

This file was deleted.

37 changes: 22 additions & 15 deletions packages/aws-cdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8824356

Please sign in to comment.