salesforce / lwc

⚡️ LWC - A Blazing Fast, Enterprise-Grade Web Components Foundation
https://lwc.dev
Other
1.64k stars 393 forks source link

Enable View Transition API #3574

Open AllanOricil opened 1 year ago

AllanOricil commented 1 year ago

https://developer.chrome.com/docs/web-platform/view-transitions/

https://developer.chrome.com/blog/spa-view-transitions-land/

Other major js frameworks have enabled it according to this guy's post https://www.linkedin.com/posts/addyosmani_developers-javascript-programmers-activity-7072390770946707456-isKd?utm_source=share&utm_medium=member_android

Maybe this would be useful for lwc and could improve UX in the platform.

The idea is to encapsulate the call of the method in the LightningElement if possible. Turn it on automatically if available?

nolanlawson commented 1 year ago

Is there anything required for LWC users to take advantage of this API? I get the impression that Vue, React, etc. just added demos, not anything to the framework itself.

Unless you think LWR should support this somehow?