I have a page with long `<div>`. In this `<div>` I have scrollbar and button on the bottom. My problem is how to create a function for this button to scroll top inside this div.

Button and div are actually two different components.

In vanilla js, it is pretty easy but in ReactJS I have no idea. Should I try to find the dom node and then scroll to top of it?

I can't use any additional library from npm etc.

Could you please give some advice?