puzzlecards.js error 使用dva @concat报错
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- eslint, javascript, react
- Domain
- frontend
Research direction
Start with the file containing PuzzleCardsPage and the reported lines 23–28, then inspect the decorator/export syntax and the ESLint configuration or parser in use. Reproduce the lint error and verify that the tutorial code passes ESLint without the reported parsing error.
Written by the indexing model from the issue text.
Description
Parsing error: Using the export keyword between a decorator and a class is not allowed. Please use export @dec class instead.
23 |
24 | @connect(mapStateToProps, mapDispatchToProps)
25 | export default class PuzzleCardsPage extends Component {
| ^
26 | componentDidMount() {
27 | this.props.onDidMount();
28 | }eslint
- Dominant language
- JavaScript
- Stars
- 432
- Forks
- 155
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ant-design/react-tutorial
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
ant-design/react-tutorial#7 · 1 comment ·
-
BMap如何添加? Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
random_joke 例子打不开 Open
Difficulty 3/5 1-2 days Newbie friendliness 30/100
ant-design/react-tutorial#4 · 1 comment ·
-
greenkeeper
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
All issues in ant-design/react-tutorial
Similar issues
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AllTheMods/ATM-10-L#19 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SignalK/n2k-signalk#345 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
JuliaPluto/PlutoPlotly.jl#72 ·
