#about conditional rendering

2 messages · Page 1 of 1 (latest)

cerulean eagle
#

Hi, I am curious about how conditional rendering in Astro work under the hood.

For example if I change a state in nanostores, and I don’t use the SSR mode in Astro, how this work?

‘’’jsx
{state? <Component1> : <Component2>}

‘’’
Do astro add javascript to handle this case?

drowsy ivyBOT
#
Quiet in here?

It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.