jQuery vs Reactjs

I know we are learning how to use the jQuery library, but I heard that React is these days the better solution?
Many things outside of manipulating the DOM like for example: navigation or undo are too difficult with jQuery…