#NavigationAPI is now baseline and it's so nice!

- No more click listeners on `<a>` tags, fighting with history state, manually updating the #dom, listening for popstate events
- handles scroll position
- ties in with the #ViewTransitionsAPI

https://web.dev/blog/baseline-navigation-api

#webdev #javascript #spa #mpa

Navigation API - a better way to navigate, is now Baseline Newly Available  |  Blog  |  web.dev

The Navigation API is now Baseline Newly available, providing a better way to handle navigation in single-page applications.

web.dev
[JSなし] パワーアップしたView Transitions APIでMPAをSPAみたいにする - Qiita

2024年6月11日リリースのChrome126から、View Transitions APIがパワーアップし、別ページへの遷移でも使うことができるようになったので紹介したいと思います。View …

Qiita

#PHP でいいじゃんという機運がもし高まったら #RiotJS にとってはむしろ勝機、いや、勝つとか負けるとかいうフェーズではもはやないけど、シチュエーションによっては活路があるというか利用シーンでてくる気はしている。

そのためにもランタイムスロットのことをやっぱり記事書きたいな。
このあたりの機能は Inspired by #AlpineJS なので、事前コンパイルなしで使える(というか RiotJS のコンパイラーを含むバージョンを使う)し、サーバーサイドの #PHP とは親和性が高い気がしてる(気がしているだけ

あとは #ViewTransitionsAPI が通常のページ遷移でも効くようになってくれたら、最高なんだけどなあ 

Embracing the View Transitions API has been a game-changer for me in web development! 💻✨ This powerful feature from the Web Platform allows seamless and visually appealing transitions between pages, adding a touch of magic to the user experience.
So, if you haven't dived into the world of View Transitions API, I highly recommend giving it a try.
Happy coding! 🚀🎉

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

#WebDevelopment #ViewTransitionsAPI #UserExperience

Smooth and simple transitions with the View Transitions API - Chrome for Developers

The View Transition API allows page transitions within single-page apps, and will later include multi-page apps.

Chrome for Developers

#Development #Techniques
Complex MPA view transitions · Let’s animate multiple page elements in an orchestrated way https://ilo.im/15e6ot

_____
#WebDev #Design #UiDesign #WebDesign #Animation #Motion #Frontend #HTML #CSS #ViewTransitionsAPI

Complex MPA View Transitions

The one about CSS transitions that Tyler procrastinated on for 3 months

#Development #Demos
How we designed and built a view transition demo · An illustration of the power of the View Transitions API https://ilo.im/15e65i

_____
#WebDev #Animation #Design #WebDesign #Frontend #CSS #JavaScript #ViewTransitionsAPI #Astro

How We Designed & Built a View Transition Demo | Viget

How did 1930s-era National Park posters, two AI video generators, a designer, and a developer combine forces to demonstrate the power of view transitions?

https://www.viget.com
Transitions – Material Design 3

Transitions help guide users as they navigate an app.

Material Design

#Development #Explorations
The SPA vs. MPA debate · Two new browser APIs are set to change the debate https://ilo.im/1539wq

_____
#WebDev #Frontend #JavaScript #ViewTransitionsAPI #NavigationAPI #SPA #MPA

The View Transitions API, the Navigation API and the SPA vs MPA debate

Memory leaks, accessibility, core web vitals, paint holding, native browser loading spinners, Server Side Rendering, and more.

#Development #Releases
Astro 3.0 · The modern web framework now supports the View Transitions API https://ilo.im/15190t

_____
#WebDev #Frontend #Framework #OpenSource #JavaScript #ViewTransitionsAPI #Npm

Astro 3.0 | Astro

30% faster and more powerful than ever, Astro 3.0 is here! Includes new features and enhancements around View Transitions, Image Optimization, Fast Refresh JSX and more.

Astro

#100DaysOfCode : #VanillaJS

#Day37 : Table with dynamic pagination

Online demo : https://teotimepacreau.github.io/Table-with-dynamic-pagination-Day37-of-100-DaysOfCode/

Source Code : https://github.com/teotimepacreau/Table-with-dynamic-pagination-Day37-of-100-DaysOfCode

Learned :
- pushing in an array each rows until a number of rowsPerPage with a for(i=0; i<arrayOfRows.length; i=i+rowsPerPage)
- implemented ViewTransitions API
- active page styled
- tried to implement a sorter but non complete

#WebDev #Frontend #CSS #WebDesign #LearnWebDev #Javascript #LearnToCode #LearnJavascript #JS #ViewTransitionsAPI

Dynamic table with pagination