leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
80 stars 60 forks source link

Clarify application of code in Dynamic Classes section #23

Closed gihrig closed 9 months ago

gihrig commented 9 months ago

Three changes here:

  1. Added code (from CodeSandbox example) to clarify usage of code discussed in Dynamic Classes section.

  2. Moved discussion of "Some CSS class names can’t be directly parsed by the view macro" to the end of the section. I feel this flow completes the first sub-section before introducing a new concept.

  3. Removed a space from "Code Sandbox" to become "CodeSandbox".

gbj commented 9 months ago

Thanks!