Skip to content

Turbo may need more usage examples, maybe something interactive like Try Ruby #206

@scmx

Description

@scmx

When learning and using Turbo, digging through handbook and reference, I find that it may need more usage examples.

I would ideally like something interactive like Try Ruby https://try.ruby-lang.org/
A user looking to learn Turbo would see idiomatic interactive examples of how Turbo can be used.

For example, I was currently not understanding how to update breadcrumbs outside a turbo frame when going from a show view to an edit view. I solved it by adding target="_top" on the link. EDIT: No this was a case when I shouldn't use a turbo frame.

Lack of idiomatic examples causes users to misunderstand what and when features of Turbo are fitting to use, which leads to worse search results when trying to resolve a problem not tackled by / hard to find in docs.

It's just an idea. Is there some existing resource? I might try to make a PoC of this in a separate repo, at some point, or forget about it.

I found an opened PR from 2 years ago "Add clickable demos to the introduction #100" by @shouichi
#100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions