question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redux: Use const for Action Types - More Comments Needed

See original GitHub issue

Describe 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): image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
RandellDawsoncommented, Feb 3, 2021

@jeremylt I like it. Let’s see what others think and then we can open it up for first timers.

1reaction
naomi-lgbtcommented, Feb 5, 2021

Yes.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found