Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
<BrowserRouter> <Routes> <Route path="/" element={<Dashboard />}> <Route path="messages" element={<DashboardMessages />} /> <Route path="tasks" element={<DashboardTasks />} /> </Route> <Route path="about" element={<AboutPage />} /> </Routes> </BrowserRouter>
StrictMode
node-sass
react-scripts
var
</span></nav>
img.getAttribute('src')
const mySuperVariable = 'hello'; const json = { data: mySuperVariable }; console.log(JSON.stringify(json)); // {"data":"hello"}
const json = { phone, name };
const json = Object.fromEntries(new FormData(document.querySelector('form')).entries()); alert(JSON.stringify(json, null, 2));
setActiveTasks(arr.filter(...))