Thanks a lot for taking the time to read my article and respond to it! It’s much appreciated :)

Sorry for getting back to you this late. I thought I had replied to you already…

Hmm. I’m not sure how it would be done in front-end code. But I think Jakob Gaard Andersen would be able to answer this.
You can perhaps get some inspiration from his article here:

He showcases some conditional rendering.

Written by

Tech writer with 621K+ views. Sharing my opinion and what I learn. Danish C# backend engineer in FinTech. Ex Big4 senior tech consultant.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store