리액트 JSX에서 rest는 무엇을 의미합니까? 이 React Router Domain v4의 예를 보면 https://reacttraining.com/react-router/web/example/auth-workflow의 PrivateRoute 컴포넌트가 다음과 같은 레스트 프로포트를 파괴하고 있음을 알 수 있습니다. const PrivateRoute = ({ component: Component, ...rest }) => ( ( fakeAuth.isAuthenticated ? ( ) : ( ) )}/> ) 확실히 하고 싶다{ component: Component, ...rest }다음을 의미합니다. 부터props컴포넌트 소품 및 기타 모든 소품 제공 후 이름 변경props로.rest따라서 경로로 전달..