DEV Community

loading...

Discussion on: React Clean Code - Simple ways to write better and cleaner code

Collapse
willsmart profile image
willsmart

Great tips!
Have you used the wrong code for the first two code snippets though? There's ConditionalRenderingBad and StringPropValuesGood both of which seem a bit out of place.

Collapse
thawkin3 profile image
Tyler Hawkins Author

Thanks for the heads up! It looks like something funky is going on with either Dev's liquid tags markdown or GitHub's gists, because whenever I see them out of order in the article, refreshing the page puts them in the correct place. So I can confirm the markdown and gist urls themselves in the markdown are correct, the wrong urls are just sometimes being rendered... How strange.