Skip to content

Commit d47b223

Browse files
committed
docs: Update configuration.md
1 parent d3c6cb6 commit d47b223

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/configuration.md

+7
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,10 @@ Since these decorators are used automatically in the `development` mode (or to b
3636
We can add the defined string as an `id` or `class` to the html tag.
3737

3838
In the `production` environment these decorators are ignored by design. So this is useful only for the `development` mode.
39+
40+
### $storePreviousURL
41+
42+
Saving the previous URL between requests.
43+
Sometimes this breaks the logic - the previous URL is part of the HTMX instead of the request page.
44+
45+
In the **/home > /htmx-request > /home** query chain, you can sometimes get an unexpected result if the previous URL is saved between requests. Instead of **/home**, you will get **/htmx-request**. The value `false` will save only page from which request was received

0 commit comments

Comments
 (0)