FormidableLabs / FormidableLabs/react-live
Custom import warning
- Langage dominant
- TypeScript
- Étoiles
- 4.6k
- Forks
- 260
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi,
I know it's not possible to use imports in the editor. Was wondering if it's possible to customize the error message in case the user tries to import something.

Instead of this error message, I'd like an error message explaining how the user should provide the components in react-live scope, with a link to a tutorial on how to do so in the context of my project.
I think many people try to import things in react-live, and it fails with this unfriendly message. It happened to me and I've seen some issues about that already.
Does it make sense?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier, test ou point d’entrée n’est nommé. Commencez par localiser la gestion des erreurs d’importation par l’éditeur ; le travail est terminé lorsque les tentatives d’importation affichent des indications plus claires sur la fourniture de composants dans le scope react-live et incluent un lien vers un tutoriel spécifique au projet.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react, typescript
- Domaine
- frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100