🔥Migration Guide to v2.0.0
Installation
To install the latest version, run:
Or, if you're using yarn:
Migration Steps
Update Prop Names:
Replace
attributes
withinputAttributes
.Replace
allowEdit
witheditable
.Replace
editMode
withisEditing
.
Breaking Changes
1. Prop Renaming
a. attributes
➔ inputAttributes
Old Usage:
New Usage:
b. allowEdit
➔ editable
Old Usage:
New Usage:
c. editMode
➔ isEditing
Old Usage:
New Usage:
Enhancements
Functional Components: The library has been completely rewritten using functional components, providing better performance and compatibility with React hooks.
Improved Testing: Unit tests have been updated to reflect the latest changes, achieving 100% test coverage for increased reliability.
Last updated