Рет қаралды 4,292
One of the cool things about SolidJS is that it offers all of these cool components you can use. This is a quick example of the Show component, which lets you display content when a variable has a value. You also get this fallback prop that you can pass if you want to display some content whenever the variable doesn't exist.
I've been enjoying the framework. Also, this is my first short on KZbin, so let me know if you think I should do more. I should have the full demo of SolidJS after the next episode of the Toolbox in about a week.