Skip to content
Discussion options

You must be logged in to vote

Yes, potentially. React Compiler can reduce React render work by memoizing compiled components, hooks, and values, allowing stable subtrees to avoid cascading re-renders when their relevant inputs are unchanged.

It does not make Ink write to the terminal at component granularity. Ink still recalculates layout and regenerates the complete root frame. In the default interactive mode, that frame is replaced when it changes. Set incrementalRendering: true to update only changed lines.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yusifaliyevpro
Comment options

Answer selected by yusifaliyevpro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants