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

Update auto-generating-selectors.md #2929

Closed
wants to merge 1 commit into from

Conversation

vorant94
Copy link
Contributor

@vorant94 vorant94 commented Jan 1, 2025

Related Bug Reports or Discussions

Fixes #

Summary

fix typo in semicolon placement

Check List

  • pnpm run prettier for formatting code and docs

Copy link

vercel bot commented Jan 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zustand-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 1, 2025 9:47am

Copy link

codesandbox-ci bot commented Jan 1, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

pkg-pr-new bot commented Jan 1, 2025

Open in Stackblitzdemostarter

npm i https://pkg.pr.new/zustand@2929

commit: 0027311

@vorant94
Copy link
Contributor Author

vorant94 commented Jan 1, 2025

i thought this leading semicolon is just a typo, but now i see that it is added as a auto-fix by running prettier...

i googled about using leading semicolon for immediately-invoked functions, when you want to concatenate multiple JS files, but it shouldn't be relevant here i suppose (not IIF, no JS file concatenation, simply code snippet in Markdown)

interesting prettier reminisce of the old days

@vorant94 vorant94 closed this Jan 1, 2025
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