Skip to content

v0.2.1

Compare
Choose a tag to compare
@vadimdemedes vadimdemedes released this 15 Jul 14:58
· 537 commits to master since this release

Despite the patch version increase, this release brings a few nifty features and an important bug fix.

  • Support defaultProps to specify default props for every render 72fb252
  • Support propTypes via the official prop-types module 034707d
  • Handle the output written via console.log() and others by clearing the terminal screen, writing it, then restoring the output from Ink components afterwards, so that console.log()'s output is always above live Ink output b0e451c
  • Let the process exit gracefully on unmount 2840fbb

Thanks

❤️ Huge thanks to @sindresorhus for convincing to add the native support for prop types.