SolidJSS
SolidJSโ€ข3y agoโ€ข
5 replies
Samual ๐Ÿฆข

Are there any semantic or performance differences between `Show` and ternaries?

The docs say:
It is similar to the ternary operator (when ? children : fallback) but is ideal for templating JSX.

But I'm not sure in what way it's ideal for templating, is it talking about just DX or also ideal performance-wise?
Was this page helpful?