github vadimdemedes/ink v0.2.0

latest releases: v5.0.0, v4.4.1, v4.4.0...
6 years ago

This is a breaking release, which contains API changes and a few important improvements.

  • Rename mount() to render() to provide more familiar API to React users a5bb287
  • Auto-enable keypress events on process.stdin (enable raw mode) when render() is used 696d0fb
  • Handle exiting with Esc and Ctrl+C. Since Ink enables raw mode, this has unfortunate consequences, such as deactivating default behavior like exiting with Ctrl+C. To provide a better experience for developers, Ink brings back that functionality automatically f1a653d
  • Throw error when component is missing 34ff78e

Thanks

❤️ Huge thanks to @sindresorhus and @brigand for helping with this release!

Don't miss a new ink release

NewReleases is sending notifications on new releases.