diff --git a/htmgo-site/md/docs/1_quick-start/1_introduction.md b/htmgo-site/md/docs/1_quick-start/1_introduction.md index 0b453e8..a1b0025 100644 --- a/htmgo-site/md/docs/1_quick-start/1_introduction.md +++ b/htmgo-site/md/docs/1_quick-start/1_introduction.md @@ -40,7 +40,7 @@ func DocsPage(ctx *h.RequestContext) *h.Page { 3. Built in support for various libraries such as tailwindcss, htmx -4. Go functions are components, no special syntax neccessary to learn +4. Go functions are components, no special syntax necessary to learn 5. Many composable utility functions to streamline development and reduce boilerplate diff --git a/htmgo-site/md/docs/1_quick-start/2_installation.md b/htmgo-site/md/docs/1_quick-start/2_installation.md index af9f164..a12f523 100644 --- a/htmgo-site/md/docs/1_quick-start/2_installation.md +++ b/htmgo-site/md/docs/1_quick-start/2_installation.md @@ -4,7 +4,7 @@ ##### **Prerequisites:** 1. Go: https://go.dev/doc/install 2. Familiarity with https://htmx.org and html/hypermedia - 1. If you have not read the htmx docs, please do so before continuting, a lot of concepts below will be much more clear after. + 1. If you have not read the htmx docs, please do so before continuing, a lot of concepts below will be much more clear after.
diff --git a/htmgo-site/md/docs/2_core-concepts/2_partials.md b/htmgo-site/md/docs/2_core-concepts/2_partials.md index f8d3a69..51a14ef 100644 --- a/htmgo-site/md/docs/2_core-concepts/2_partials.md +++ b/htmgo-site/md/docs/2_core-concepts/2_partials.md @@ -2,7 +2,7 @@ Partials are where things get interesting. Partials allow you to start adding interactivity to your website by swapping in content, setting headers, redirecting, etc. -Partials have a similiar structure to pages. A simple partial may look like: +Partials have a similar structure to pages. A simple partial may look like: ```go func CurrentTimePartial(ctx *h.RequestContext) *h.Partial { diff --git a/htmgo-site/md/docs/2_core-concepts/3_components.md b/htmgo-site/md/docs/2_core-concepts/3_components.md index 41c9a7b..01c4d62 100644 --- a/htmgo-site/md/docs/2_core-concepts/3_components.md +++ b/htmgo-site/md/docs/2_core-concepts/3_components.md @@ -22,7 +22,7 @@ func Card(ctx *h.RequestContext) *h.Element { ``` My card component here fetches all my tasks I have on my list, and renders each task. -If you are familar with React, then you would likely place this fetch logic inside of a useEffect or (useQuery library) so it is not constantly refetched as the component re-renders. +If you are familiar with React, then you would likely place this fetch logic inside of a useEffect or (useQuery library) so it is not constantly refetched as the component re-renders. With **htmgo**, the only way to update content on the page is to use htmx to swap out the content from loading a partial. Therefore you control exactly when this Card component is called, not the framework behind the scenes. diff --git a/htmgo-site/md/docs/4_interactivity/2_events.md b/htmgo-site/md/docs/4_interactivity/2_events.md index ff23731..d1e27cd 100644 --- a/htmgo-site/md/docs/4_interactivity/2_events.md +++ b/htmgo-site/md/docs/4_interactivity/2_events.md @@ -4,7 +4,7 @@ Sometimes you need to update elements client side without having to do a network To make this work while still keeping a pure go feel, we offer a few utility methods to execute various javascript on an element. -**Example:** When the form is submitted, set the button text to submitting and disable it, and vise versa after submit is done. +**Example:** When the form is submitted, set the button text to submitting and disable it, and vice versa after submit is done. ```go func MyForm() *h.Element {