This day is finally here - Ink 3 is out! Read the full announcement at https://vadimdemedes.com/posts/ink-3.
Highlights
- Add
measureElement()
API (#307) d0c4417 - Free memory from unused Yoga nodes (#308) 7c17e85
- Rerender on resize (#304) 155e1a0
- Add global error boundary (#303) 2bcb4c0
- Remove prop types 2b5dbad
- Add support for borders in
<Box>
component (#300) 96625bf - Rewrite text rendering (#299) ab0f986
- Add focus management (#295) 706fdb2
- Add
align-self
property to<Box>
(#296) 125148a - Add
<Spacer>
component e8ae2af - Update only changed props and styles of the node 5739a75
- Add
<Newline>
component 9f4c6f8 - Display
console.*
logs above main output acb6ed2 - Add
clear()
method to clear output fec1c4d - Add support for React Devtools (#287) 1a44aac
- Add
useStderr
hook to access and write to stderr stream (#286) 360d2da - Add
write()
function to write any string to stdout (#285) 27e313e - Add
<Transform>
component (#277) 9ed46a5 - Render all frames when CI environment variable is explicitly set to
false
a056565 - Add
isActive
option to useInput hook f419028 - Add support for
<Box display="none">
b51476c - Add support for React Suspense 89425d5
- Reduce rendering speed to 30 frames per second 9b99c5a
- Refactor codebase to TypeScript (#264) c9631c2