To interact with actual DOM Element — you need to acquire a reference to it. To get a reference, you can create a Subject and pass that subject to special ref property on JSX element:
import Recks from 'recks';
import { Subject } from 'rxjs';
function App() {
const ref$ = new Subject();
ref$.subscribe(ref => {
ref.style.background = 'magenta';
});
return <div ref={ref$}>Hello!</div>;
}