Redux: Use const for Action Types - More Comments Needed
See original GitHub issueDescribe your problem and how to reproduce it:
Lines 32 and 38 of this challenge need the comments // Change this line
.
Add a Link to the page with the problem: https://www.freecodecamp.org/learn/front-end-libraries/redux/use-const-for-action-types See also https://forum.freecodecamp.org/t/redux-use-const-for-action-types-error/444251
Tell us about your browser and operating system: N/A
If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (15 by maintainers)
Top Results From Across the Web
Use const for Action Types - Redux - Free Code Camp
In this Redux tutorial we use const for action types. This video constitutes one part of many where I cover the FreeCodeCamp ...
Read more >Redux: Use const for Action Types error? - JavaScript
It won't let me pass // running tests The action creators and the reducer should reference the LOGIN and LOGOUT constants.
Read more >Redux: Use const for Action Types - DEV Community 👩💻👨💻
FreeCodeCamp wants us to declare LOGIN and LOGOUT as const values and assign them to the strings 'LOGIN' and 'LOGOUT' , respectively. Then,...
Read more >Redux Style Guide
Redux Style Guide. Introduction. This is the official style guide for writing Redux code. It lists our recommended patterns, best practices ...
Read more >What is the point of the constants in redux? - Stack Overflow
If you make a typo when importing an action constant, you will get undefined. This is much easier to notice than a typo...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jeremylt I like it. Let’s see what others think and then we can open it up for first timers.
Yes.