Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GenericJam/mob
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: GenericJam/mob
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: docs-fix-tap-example-gh46
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on Jul 5, 2026

  1. docs: fix undefined tap/1 in getting_started "first screen" example

    The example used `on_tap={tap(:increment)}`, but no `tap/1` exists — `use
    Mob.Screen` imports the sigil, not a `tap` helper — so pasting the getting-
    started example produced a compile error (GH #46). Use the canonical inline
    tuple `on_tap={{self(), :increment}}` (matches `Mob.Sigil`'s own docstring,
    screen_lifecycle.md, and device_capabilities.md), which the existing
    `handle_info({:tap, :increment}, ...)` already handles. Added a clause to the
    walkthrough explaining the `{self(), :increment}` → `{:tap, :increment}` wiring.
    
    Verified: the corrected module compiles and renders a valid tree.
    
    Closes #46.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
    GenericJam and claude committed Jul 5, 2026
    Configuration menu
    Copy the full SHA
    a710d89 View commit details
    Browse the repository at this point in the history
Loading