solidjs / solid-docs-next

SolidJS Docs.
https://docs.solidjs.com/
208 stars 230 forks source link

Basics documentation has a wrong example on display #751

Closed Ryan-Zayne closed 1 week ago

Ryan-Zayne commented 2 months ago

📚 Subject area/topic

/concepts/components/basics.mdx

📋 Page(s) affected (or suggested, for new content)

https://docs.solidjs.com/concepts/components/basics

📋 Description of content that is out-of-date or incorrect

The explanation of one of the examples specifies that it used the ternary operator for conditional rendering, when in fact it was the Show component that was used there

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response

LadyBluenotes commented 1 week ago

Thanks for flagging this! I just updated it :)