Custom params from URL
Optional
historyHistory items
Indicates that preact app is initialized.
Indicates that the search is loading, loader should be shown when true
.
Displays which page type it is - category | search
Current search query that includes all user input like search text, filters, sort, page, etc.
Current search response that includes found products, keywords and other results.
Preact state includes all changing variables of the app. After each change page is automatically rerendered. State includes user input, output and other useful things.