Is there a way to ask a UI Kit element to re-render?

I have a Fragment that consists of a text field and a button. When the button’s onClick function is triggered, at the end the text field must be re-rendered. Other than completely re-loading the page, is there a possibility to simply trigger the Fragment or the text field to re-render? I want to remain within UI Kit and not go outside and have to program everything myself in an iframe…

I can use useState() to change the state of the element that must be re-rendered.