Вопросы по теме 'render'
Не удается передать реквизиты компоненту Route={{}}, но не удается получить доступ к location.pathname в Route render={{}}
Описание
So I'm having the following route:
<Route path='/' component={RedirectUser} />
which allows me to use this.props.location.pathname in my RedirectUser component. Except, now I have to use some props; so I changed my route like...
13 просмотров
schedule
12.12.2023