software-mansion / react-native-ide

https://ide.swmansion.com
Other
705 stars 21 forks source link

Fix displaying component names in the preview URL #384

Closed jakub-gonet closed 21 hours ago

jakub-gonet commented 2 weeks ago

When preview(<View />) was used, URL bar shown "preview:undefined".

Turns out that forwarded ref components have different structure for .type which doesn't include meaningful name in it.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-ide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 14, 2024 10:46am
jakub-gonet commented 21 hours ago

We could but it doesn't give us much. We can revisit this is need arises.