feature-sliced / documentation

🍰 Architectural methodology for frontend projects
https://feature-sliced.design
MIT License
1.41k stars 146 forks source link

Docs: update block codes at "Let's form the routes" section #608

Closed corocoto closed 11 months ago

corocoto commented 11 months ago

Background

Update block codes at "Let's form the routes" section, which allows us to see and use actual version and state of react-router-dom library.

Remark:

Starting from v6 version, react-router-dom marked Switch and Redirect (that placed inside of Switch) as deprecated components. As a recomendation Switch should be replaced by Routes, and Redirect by Navigate.

Related links from react-router-dom documentation:

netlify[bot] commented 11 months ago

Deploy request for pr-fsd accepted.

Name Link
Latest commit 6e98f9d29f917262fc047e9d13522799175aa68b
Latest deploy log https://app.netlify.com/sites/pr-fsd/deploys/64c63e554611fa0007b1c10d
azinit commented 11 months ago

@feature-sliced/core