Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

routing func support #806

Merged
merged 1 commit into from
Jan 19, 2023
Merged

routing func support #806

merged 1 commit into from
Jan 19, 2023

Conversation

maxence-charriere
Copy link
Owner

Summary

  • Routes can now be defined with functions that create a new component instance when navigated on

References

@maxence-charriere maxence-charriere merged commit ac6814f into v9.7.0 Jan 19, 2023
@maxence-charriere maxence-charriere deleted the routing-func-support branch January 19, 2023 17:06
maxence-charriere added a commit that referenced this pull request Jun 27, 2023
* routing func support (#806)

* fix typo in defer documentation

* AppendClass helper takes variadic parameters

* Update README.md

* No wasm mode (#810)

* query parameter to see a page without wasm

* pre render at same depth as render

* remove loader node rather than hide it

* Update html.go

* Update html.go

* prevent loader to show in non wasm mode

* cleanup

* load all styles before scripts

* load ga async

* remove not used css

* reduce generated html size

* reduce html size further

* reduce generated html size 3

* handler preconnect link

* src multiple call support + fix resolving

* test srcset attribute

* update deps

* fix html resolve attribute URL

* enriched http handler src

* fix preconnect default crossorigin

* update doc

* Remove pre render caching (#818)

* Remove PreRenderCache and PreRenderCacheControl

* rename and clean cache related items

* rename pre rendered item and use proxy cached items

* rename http pwaResources to cachePWAResources

* ignore empty attribute value when generating html string

* fix ignore empty attr when generating html

* revert attr filter

* preload styles

* generated html don't add resources without url

* preload right after preconnect

* add preload font support

* fix font preload type

* fix font resolver

* add font to cacheable resources

* Optimize html gen (#827)

* don't genrate html with empty id or class

* fix condition

* refactor write html attribute

* Update html_test.go

* Datset with map (#828)

* don't genrate html with empty id or class

* fix condition

* refactor write html attribute

* dataset with a map

* preload font first

* change loader display

* fix server side resource resolver

* Update page_test.go

* twitter card page support

* remove expired persisted states (#837)
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