How to render a component without using a Route element

后端 未结 0 1104
半阙折子戏
半阙折子戏 2020-12-05 01:01

This is my React component:

const Auth = () => {  

useEffect(() => { 
document.body.classList.add("bg-default");  
return () => {  
docume         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题