Skip to content

Releases: glints-dev/glints-aries

TypeScript Conversion

31 May 07:09
a8c2c47
Compare
Choose a tag to compare
TypeScript Conversion Pre-release
Pre-release

This implementation uses Babel to transpile source files, ForkTsCheckerWebpackPlugin for type checking, and tsc itself for generating declaration files.

In addition to TypeScript conversion, there are also some bug fixes and improvements that are noteworthy:

  • Use React.createRef for refs
  • Remove misuse of this.props.children and replace with calls to React.Children
  • Fixed some scoping issues caused by the use of document.querySelector. Instead of document, we should use the ref of the root component of the element

Although there is no intended change to the API, due to the scope of change, I feel more comfortable making this a semver-major release.