Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Url.js and replace it with generatePath from react-router #3052

Open
leafty opened this issue Feb 28, 2024 · 1 comment
Open

Deprecate Url.js and replace it with generatePath from react-router #3052

leafty opened this issue Feb 28, 2024 · 1 comment
Assignees
Labels

Comments

@leafty
Copy link
Member

leafty commented Feb 28, 2024

We don't need to re-invent the wheel to generate paths for the UI, we should use generatePath from react-router.

@lorenzo-cavazzi
Copy link
Member

I think we can keep Url.js for the older Renku 1.0 pages and use generatePath for 2.0.
As part of the PR, it would be nice to have a new rule in the coding guidelines mentioning how to compose URLs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants