Classnaming missing component name
- Dominant language
- JavaScript
- Stars
- 7.1k
- Forks
- 386
- PR merge metrics
- No merged PRs in 30d
Description
__Expected behavior:__
Wrong or Missing classnames if I follow the basic example from docu.
The basic example output (https://cssinjs.org/react-jss/?v=v10.3.0#basic ) should be
```html
Submit
```
__Describe the bug:__
if using the basic example from the name of the component/file isn´t included in classnames as described here https://cssinjs.org/react-jss/?v=v10.3.0#basic
output is:
```html
sdsds
```
__Codesandbox link:__
https://codesandbox.io/s/condescending-bush-lzdjv?fontsize=14&hidenavigation=1&theme=dark
__Versions (please complete the following information):__
- jss: 10.4.0
- Browser [e.g. chrome, safari]: chrome
- OS [e.g. Windows, macOS]: mac
Contributor guide
Research direction
Start by reproducing the reported output in the linked CodeSandbox and compare it with the basic example in the react-jss v10.3.0 documentation. Trace the class-name generation entry point used by that example; done means the rendered button and span include the component name as shown in the expected HTML.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100