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

Map camle cased attributes to lower case #1122

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

moaoa
Copy link
Contributor

@moaoa moaoa commented Apr 14, 2023

This is a draft pr to try and solve #526

what I added :

  • isFirstLetterLowerCase util,
  • mapCamleCasedAttribues to lowerCase attributes (srcSet => srcset)

I followed the steps mentioned in the issue but my solution is not working out. Can anyone help me?

the snapshot still contains the attribute srcSet instead of srcset

here is the snapshot:

// Vitest Snapshot v1

exports[map camle cased > map camle cased 1] = `
"<script>
import React from \"@builder.io/react\";

let name = \"Steve\";
</script>

" `;

@vercel
Copy link

vercel bot commented Apr 14, 2023

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

Name Status Preview Comments Updated (UTC)
mitosis-fiddle ❌ Failed (Inspect) Apr 25, 2023 4:00pm

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