Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import form-elements in app/elements.mjs #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

macdonst
Copy link
Contributor

@macdonst macdonst commented Apr 2, 2024

WDYT?

The issue with this approach is what happens when you import multiple things into app/elements.mjs. For now I just print some instructions. Otherwise I think reading the app/elements.mjs could get pretty gnarly.

@macdonst macdonst requested a review from ryanbethel April 2, 2024 23:40
Copy link
Contributor

@ryanbethel ryanbethel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that ok. I agree we don't want to parse and update an element.mjs if they already have one. But what if in addition to printing instructions we write an elements.mjs.example or add a comment to the top of elements.mjs. My concern is if I somehow miss the terminal output or close it I am lost.

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.

2 participants