Skip to content

docs: fix grammar in h/README.md 'Differences from JSX' section - #3588

Open
haimingZZ wants to merge 1 commit into
solidjs:mainfrom
haimingZZ:docs/fix-attempting-use-typo-h-readme
Open

haimingZZ wants to merge 1 commit into
solidjs:mainfrom
haimingZZ:docs/fix-attempting-use-typo-h-readme

Conversation

@haimingZZ

Copy link
Copy Markdown

Summary

Fixes a grammar issue in the HyperScript README.

The sentence:

There are a few differences from Solid's JSX that are important to note. And also apply when attempting use any transformation that would compile to HyperScript.

has two problems:

  1. And also apply starts a new sentence with a coordinating conjunction and lacks a subject — They also apply (referring back to differences) is the intended reading.
  2. attempting use is missing the infinitive to — should be attempting to use.

Reworded to:

There are a few differences from Solid's JSX that are important to note. They also apply when attempting to use any transformation that would compile to HyperScript.

This is a docs-only, single-line change to packages/solid/h/README.md (no code, no tests).

How tested

  • Verified only packages/solid/h/README.md is changed (git diff).
  • Verified no other occurrences of attempting use exist in the repo (rg "attempting use" returns just this one hit).
  • Verified no existing open PR targets this exact typo (gh search prs repo:solidjs/solid "attempting use" → 0 results).

Happy to rebase / rename / split if maintainers prefer a different commit message or scope.

Reword 'And also apply when attempting use any transformation' to
'They also apply when attempting to use any transformation':
  - 'And' starting a sentence was ungrammatical; 'They' refers back
    to 'differences from Solid's JSX' (the actual subject).
  - 'attempting use' was missing the infinitive 'to'.

Single-line docs-only change in packages/solid/h/README.md.
@changeset-bot

changeset-bot Bot commented Sep 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0ea57c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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