I have button "Save" in the form, which save data in the parent state and render new block. I need to save data from inputs block in the parent component.
Ok just create local states in your parent component for input fields then just transfer "setYourState" function down to child component then in child component attach a click handler to "save" button when you give it value "setYourState" then it go ahead and rerender parent and save your state hope it makes sense