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

Replace usages of j and js quoted strings with ones without id #479

Closed
wants to merge 3 commits into from

Conversation

jchavarri
Copy link
Collaborator

In ml-in-barcelona/server-reason-react#139, server-reason-react is starting to fail if it finds j or js in quoted strings for code that uses melange.ppx.

Using that patch, I noticed some of the code in styled-ppx was using these quoted strings, but there's no unicode or any interpolation, so it can just use quoted strings without id {||}.

The diff is long, but the process was mostly find and replace on the affected files, nothing else. I originally started using regular strings, but found a few places where double quotes are used, so I feel safer by keeping the same literals without having to escape.

Copy link

vercel bot commented Jun 19, 2024

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
styled-ppx ⬜️ Ignored (Inspect) Visit Preview Jun 20, 2024 6:08am

@jchavarri
Copy link
Collaborator Author

Closing this as not necessary anymore, see ml-in-barcelona/server-reason-react#139 (comment).

@jchavarri jchavarri closed this Jun 20, 2024
@jchavarri jchavarri deleted the remove-usage-of-j-and-js-quoted-strs branch June 20, 2024 14:39
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