getElementById('root'));. Try it on CodePen. This example renders a different greeting depending on the value of isLoggedIn prop.
確定! 回上一頁