Skip to content

Commit dd25efb

Browse files
committed
docs: Update getting-started.md about redirects
They work!
1 parent e5fd5d3 commit dd25efb

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

docs/Getting-started.md

-17
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ There are some crucial points you should be aware of:
6262
- JavaScript served from CDN doesn't work (in the recommended usage)
6363
- The host name is ignored, but not quite! (in the recommended usage)
6464
- `setTimeout` and `setInterval` handlers require you to "advance the clock"
65-
- Redirects are not followed
6665

6766
### JavaScript served from CDN doesn't work
6867

@@ -122,22 +121,6 @@ handlers that doesn't get cleared. Likewise, if `setInterval` is always called
122121
with zero delay, it will too ([which is a missing
123122
behaviour](https://github.com/gost-dom/browser/issues/45)
124123

125-
### Redirects are not followed
126-
127-
TLDR; Gost basically cannot handle plain HTML forms because redirects are not
128-
followed, but HTMX powered forms work.
129-
130-
If you call `HTMLAnchorElement.Click()`,
131-
`HTMLFormElement.Submit()`/`.RequestSubmit()`, or `.Click()` on a submit button
132-
in a form (`<button>` or `<input type="button">`), Gost-DOM will request the new
133-
resource, and render the returned HTML.
134-
135-
HTMX powered forms **do work**, because HTMX handles form using XHR, and it
136-
handles the response.
137-
138-
Let us know, if this is a problem for you. It is one of the next planned
139-
features, but user feedback has great effect on priority.
140-
141124
## The DOM API
142125

143126
Not all functions are implemented on the Window and the DOM objects, but they do

0 commit comments

Comments
 (0)