How to render this?

・1 min read

Hope now someone have a few minutes for me also 😉 https://codesandbox.io/s/jz44mj4xl9 You see in the render method an if else statement in one line like we do it in react, but like i mentioned in the code I want if the condition is true to render all the stuff below, what I really want in the end is to render the whole component again to the screen if its true without replacing the one rendered before how to do I do this?

Thanks

DISCUSS
Classic DEV Post from Jan 30

Make art, not apps <3

You don't have to build an app. In fact, if you don't need to, then don't.