feat: convert npmjs urls in readme with npmx#281
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
if we want to stay within the app, we need to do more than replace the URLs - we also need to handle clicks on them to use client-side routing. we could add a click handler to the readme container, and listen for clicks on npmjs urls, instead. then normalise them to our format. if our router doesn't recognise url format, then we send it to npmjs instead. |
I agree, solving it that way will be way better, will look into updating it in the evening |
…clicks and handle redirects there
Resolves: #265
Does not replace npmjs url without a path present