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.

Concept mentionned when its not been covered in previous challenges

See original GitHub issue

Describe your problem and how to reproduce it: Hi everyone, In the challenge linked below, it is mentionned :

So far, you’ve seen how to use if/else, &&, null and the ternary operator (condition ? expressionIfTrue : expressionIfFalse) to make conditional decisions about what to render and when.

I have seen challenges about if/else, && and the ternary operator but not about null.

After looking for some documentation, it appears that it is still a valid method for hiding a component.

Potential solutions :

  • I think a challenge could be added to introduce this concept.
  • An other option would be to modify the if/else challenge to cover this concept.
  • Finally, a last option would be to delete the mention of this concept in the challenge linked below.

Any opinions ?

Add a Link to the page with the problem: React: Render Conditionally from Props

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
ShaunSHamiltoncommented, Feb 6, 2021

Excellent.

Then, I am opening this up to first-timers. What needs to be done is as mentioned in the OP:

Finally, a last option would be to delete the mention of this concept in the challenge linked below.

That is, the description of the challenge should not mention Campers as having learnt about null.


An issue with the help wanted or first timers only label is open for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors.

If you would like to contribute, and have not read the contributors docs, please do so here: https://contribute.freecodecamp.org/#/

If you have any issues with contributing, be sure to join us on the contributors channel, or on the contributors sub-forum

0reactions
jblarrivierecommented, Feb 6, 2021

@moT01 good point

@ShaunSHamilton that’s fine by me !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strategies for Learning from Failure - Harvard Business Review
And successful learning from failure is not simple: It requires context-specific strategies. ... Yet organizations that do it well are extraordinarily rare.
Read more >
What is Regression Testing? Definition, Tools, Method, and ...
Regression testing is a type of testing that is done to verify that a code change in the software does not impact the...
Read more >
Literature review as a research methodology: An overview ...
It can be used, for example, to create research agendas, identify gaps in research, or simply discuss a particular matter. Literature reviews can...
Read more >
5. The Literature Review - Organizing Your Social Sciences ...
A literature review surveys books, scholarly articles, and any other sources relevant to a particular issue, area of research, or theory, ...
Read more >
Why are states banning critical race theory?
Specified concepts must also not be included in curriculum in public K-12 schools. New Hampshire, Anti-CRT section was incorporated into House ...
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