Releases: dcwither/react-editable
Releases · dcwither/react-editable
Release list
v0.3.1
Performance Improvements
Memoize values returned by useEditable to make it possible to short circuit rendering of child components based on function and object equality.
Added tests to confirm values remain the same/change based on expected behavior.
v0.3.0
v0.2.0
Full rewrite of react-editable component in typescript providing more confidence in code quality as well as types for typescript projects.
Also some minor changes to the API
- Exposes an component that accepts as a child a render prop - more intuitive alternative to an HOC
- Consolidates
onSubmit,onUpdate,onDeleteinto the more flexibleonCommitwhich accepts a message that can identify its purpose.