Shopify / Shopify/liquid

Add a way to use slots / render children in snippets

Open
#1,829 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
11.9k
Forks
1.5k
Avg merge
17h 55m
Merged PRs (30d)
3

Description

Using capture is cumbersome and hard to read. There should be a way to wrap markup in a liquid tag and have it render the children, similar to a React component.

Contributor guide

Open the contributing guide

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 reading how capture, liquid tags, and snippets currently work in this repository, then determine where child content would be evaluated and rendered. Define the desired slot behavior and its interaction with existing capture semantics before identifying tests that can express the completed feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, ruby
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.