Handsontable for React is now 2.0.0

Peter Plesa Release Notes / October 10, 2018

Handsontable for React is now 2.0.0

We’re happy to announce the release of v2.0.0 of our React wrapper for Handsontable. It’s “raison d’etre” is to simplify migration from the vanilla JS version, as we’ve removed the on- prefixes from hook declaration names to make them more consistent with the main JavaScript configuration.

Breaking changes

  • The on- prefixes (as in onAfterChange) were removed from hook declaration names to simplify the Handsontable configuration when migrating from the vanilla version. After this change, the hooks should be declared exactly like in the plain JS Handsontable config:
    • Was: onAfterChange: function() { }
    • Is: afterChange: function() { }
      (#101)

Changes

  • Added a version property to the component (as in HotTable.version), so it’s easier to check which version we’re using.

Follow us on Twitter to keep up with news and updates.

Leave a comment below or write to us if you have any questions.