-
-
Notifications
You must be signed in to change notification settings - Fork 847
ErrorInExamplesInIssue
Miklós Fazekas edited this page Jan 21, 2024
·
6 revisions
It's important that the example you include in your bug report is complete, doesn't have undefined variables etc. Otherwise it's extra work for us even to reproduce the issue. The linter does close such issues, but will reopen those once the issue fixed. Thanks for the understanding.
Some notes:
-
Code samples have to be enclosed in triple quotes followed by jsx or tsx
```jsx import ... ```
or
```tsx import ... ```
-
Do not import 3rd party libraries assets, as our example doesn't have the libraries installed. And the idea that we can copy paste the provided component to our example app and then we can work there.
-
Prefer js to typescript unless you component demonstrates a typescript specific issue.
See also: