Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

feat: use a safe typed routeur #6

Closed
wants to merge 1 commit into from

Conversation

Tchoupinax
Copy link
Contributor

Hey,

Suggestion about using a type safe router in react. I did not find the way yet to correctly plug the ErrorPage, as I might miss knowledges about React

@evoxmusic
Copy link
Contributor

I didn't know @swan-io/chicane - what's the value over the router I used?

@Tchoupinax
Copy link
Contributor Author

Your router are safe typed (name, params), it works well with the ts-pattern lib to do matching model that improve the DX

image

@evoxmusic
Copy link
Contributor

I can safely merge?

@Tchoupinax
Copy link
Contributor Author

Frontend is not my expertise so I won't be super helpful on this. As far as I understand, this library brings strong types that are very useful when you app starts to grow. I let you decide if you want to give a try!

@Tchoupinax
Copy link
Contributor Author

Reopen the day when I will manage this better! :)

@Tchoupinax Tchoupinax closed this Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants