请教以下,reactjs中两个页面直接如何实现跳转?

#1

刚开始学reactjs,用了antd组件,想请教两个页面间如何跳转?
真正上线的时候,可能需要经过后台业务处理,通过后跳到其他页面,需要用到其他第三方库吗?

如:
A.js,点击按钮后,跳到B.js页面

   </Form>
         <Button type="primary" htmlType="submit" >
               登录
           </Button>
   </Form>
#2

router.push({pathname:’/b’,query:{}});


history.push(’/b’)