Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Improve change highlighting in 05-react#133

Open
KieranHunt wants to merge 1 commit intoautomerge:mainfrom
KieranHunt:patch-1
Open

Improve change highlighting in 05-react#133
KieranHunt wants to merge 1 commit intoautomerge:mainfrom
KieranHunt:patch-1

Conversation

@KieranHunt
Copy link

"Creating a new Item" in the React Integration step of the tutorial (https://automerge.org/docs/tutorial/react/#creating-a-new-item) highlights adding a onClick handler as follows:

CleanShot 2025-08-16 at 08 59 47

However, this is the first time that the onClick handler is being added.
I believe that the highlight should include adding the onClick property rather than just defining its body.

This is consistent with the "Updating the done state" https://automerge.org/docs/tutorial/react/#updating-the-done-state a few lines below.

CleanShot 2025-08-16 at 09 03 05

@netlify
Copy link

netlify bot commented Aug 16, 2025

Deploy Preview for automerge-github-io-previews ready!

Name Link
🔨 Latest commit cd67ae5
🔍 Latest deploy log https://app.netlify.com/projects/automerge-github-io-previews/deploys/68a03b556b09df00081997ce
😎 Deploy Preview https://deploy-preview-133--automerge-github-io-previews.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 project configuration.

@KieranHunt
Copy link
Author

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.

1 participant