@haydee75Submitted over 3 years ago
Hi! :) That challenge was interesting and challenging! Does anyone know a good way to avoid using masonry and have the same behaviour ? The documentation I found on internet wasnt that great
Hi! :) That challenge was interesting and challenging! Does anyone know a good way to avoid using masonry and have the same behaviour ? The documentation I found on internet wasnt that great
Hi @haydee75, nice project! I am having a hard time trying to upgrade with react router v6, and in App.js I replaced : <Routes> <Route exact path="/galleria">
<Gallery datas={data} clickEvent={handleSlideShow} />
</Route>
<Route path="/galleria/:urlPath">
<Paint datas={data} />
</Route>
</Routes>
by :
<Routes> <Route path="galleria" element={<Gallery datas={data} clickEvent={handleSlideShow} />} /> <Route path="/galleria/:urlPath" element={<Paint datas={data} />} /> </Routes>Unfortunately is does not work when clicking prev or next button as the urlPath comes being added to the previous one, and render a blank page..