microsoft / fluentui-contrib

Monorepo for contributor extension packages to Fluent UI
MIT License
31 stars 35 forks source link

Chore--jsx-automatic-runtime #208

Closed bsunderhus closed 3 months ago

bsunderhus commented 3 months ago

Addresses usages of the classic jsx runtime in favor of the automatic

https://github.com/microsoft/fluentui-contrib/pull/208/files#diff-434aa1b7faa5f2ca928cac2330327f41693b5199517c0325ccf4b9b39d803952L1-L5

Changes

  1. adds @babel/plugin-transform-react-jsx per package to opt-in to automatic jsx
  2. updates tsconfig.lib.json per package to opt-in to automatic jsx
  3. updates each render file to stop using createElement