React: Day 25
React: Day 25

Today is Day 25, and yesterday was the 100th day of the medium article journey. A lot happened yesterday, I spoke with budding entrepreneurs and the conversation went great.

Now for the code, I never knew VS Code had a refactor option, it is pretty cool, let’s have a look:

let classes = 'badge m-2 badge'
classes += (this.state.count === 0 ) ? '-warning' : '-primary'