'How do I handle phone numbers with NextJS Links?

I have a Link component that uses Next/Link and I'm passing in a telephone number formatted like this: tel:+15555555555

However I get an error:

Invalid href passed to router: tel:+15555555555

Are telephone numbers not supported?



Solution 1:[1]

I resolve the issue by adding code inside the parent plugin to capture data from deleted children as I know they will be deleted through cascade.

Solution 2:[2]

Check if you are doing depth check and returning if it is greater than one.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Nick
Solution 2 user2654353