luckyframework / luckyframework/website

Document named component slots

Open
#396 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Crystal
Stars
39
Forks
62
PR merge metrics
No merged PRs in 30d

Description

We can have named slots in Lucky! Check it out:
https://gist.github.com/paulcsmith/01c1ced3e681de99d0ec343fdf57e2b7

Adding a section to the HTML components guides would be really helpful, since I'd imagine that searching for "Slot" will be somewhat common.

Section should note that this is *not* specific to Lucky, and just works by default with Crystal procs.

Section could be called something like "Slots with Procs"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the HTML components guides in the Lucky website and review the surrounding sections for an appropriate placement. Add a section such as "Slots with Procs" covering named slots, noting that the behavior is not Lucky-specific and works by default with Crystal procs; use the linked example as reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.