How to change the default theme to a single page theme written with React

I read the documents about openedx, and I know how to simply write topics,like this → Adding custom themes,But I don’t know how to replace the whole page with a theme page written by React. I hope you can help me. Thank you very much!