Apply Marko syntax and best practices when editing `.marko` files and building Marko components.
Marko is a modern UI framework for building web applications. It features a declarative component-based syntax, fine-grained reactivity, and a highly optimized compiler. Marko is designed for both server-rendered and interactive client-side experiences with a focus on streaming, partial hydration, and shipping the smallest possible amount of JavaScript to each page.
The Marko documentation is the source of truth for all Marko-related information. Always refer to the official docs for information about syntax and behavior. Marko changes over time, so prefer fetching current docs over relying on training data.
The docs index lists every available page with its URL and a short description.
All Marko docs pages can be fetched as markdown by appending .md to the URL (https://markojs.com/docs/introduction/getting-started.md)
Documentation and this skill target Marko 6. Do not use Marko 5 syntax.
<script> is never used when state (<let> or <const>) could accomplish the same behavior.onClick() { ... } or a reference, not string names.PyTorch深度学习模式与最佳实践,用于构建稳健、高效且可复现的训练流程、模型架构和数据加载。