Skip to content

Comments

create useEleventy helper#1

Draft
mayank99 wants to merge 3 commits intomainfrom
context
Draft

create useEleventy helper#1
mayank99 wants to merge 3 commits intomainfrom
context

Conversation

@mayank99
Copy link
Owner

@mayank99 mayank99 commented Sep 8, 2024

This stores the page's this context in a Preact context and makes it available to all components through the useEleventy hook. Just wrap the page entrypoint in page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant