Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Conversation

@Skrubbadubba
Copy link
Contributor

This is a suggestion.

In my project, I wasn't able to use JSX syntax where I had this code. I'm thinking this might be the case for a lot of other people as well.
Even if not, the other customizing examples (adding custom previews, adding custom links & pages etc.) do not use JSX syntax, but instead, the provided React.createElement "h" alias.

@netlify
Copy link

netlify bot commented Jan 22, 2023

Deploy Preview for staticjscms ready!

Name Link
🔨 Latest commit 9e69d73
🔍 Latest deploy log https://app.netlify.com/sites/staticjscms/deploys/63cd8ad3f7b8b40009d72b04
😎 Deploy Preview https://deploy-preview-406--staticjscms.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Jan 22, 2023

Deploy Preview for demo-staticjscms ready!

Name Link
🔨 Latest commit 9e69d73
🔍 Latest deploy log https://app.netlify.com/sites/demo-staticjscms/deploys/63cd8ad3350aa40008d24bb5
😎 Deploy Preview https://deploy-preview-406--demo-staticjscms.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Skrubbadubba Skrubbadubba changed the title docs (fix): use provided "h" function instead of jsx docs: use provided "h" function instead of jsx Jan 22, 2023
@KaneFreeman
Copy link
Collaborator

Good point. I'll merge this now then go back through and update all the examples to have both later this week.

@KaneFreeman KaneFreeman merged commit de405b4 into StaticJsCMS:main Jan 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants