I'll let you decide if this one is fun or frightening! Whether or not this will work depends on your PDF reader or browser support, but it works with Chrome and Firefox, at least.
The PDF document format supports embedded JavaScript and this experiment uses it to implement a game of Tetris. The developer, Thomas Rinsma, has used Python to output the PostScript that includes the game's JavaScript. Couple that with the fact many browser PDF renderers are themselves implemented in JavaScript (e.g. PDF.js) and you have a veritable Matryoshka doll of technologies at play here.
Link to the game
#fun
#frontend #pdf #js #chrome #game #tetris
Please open Telegram to view this post
VIEW IN TELEGRAM
1π4π₯2π1π1
If you already know React, learning Vue should be easy. The author proves this by comparing some code examples
Link to the article
#article
#frontend #react #vue
Please open Telegram to view this post
VIEW IN TELEGRAM
1π₯10π1π¨βπ»1
Five years ago, Shopify said React Native was the future for mobile development at their company and they really meant it with every mobile app moving to RN over time. Hereβs what they learnt along the way and why theyβre sticking with it.
Link to the article
#article
#frontend #react #reactNative #shopify #js
Please open Telegram to view this post
VIEW IN TELEGRAM
1π4π¨βπ»2π₯1
<ViewTransition /> is based on the powerful browser-based View Transition API (unsupported in Firefox for now). Itβs only in pre-release versions of React so far, but Matt comes armed with examples and demos for you to get an early feel for the potential.
Link to the article
#article
#frontend #react #animation #js
Please open Telegram to view this post
VIEW IN TELEGRAM
1π₯3π¨βπ»2π1
This handy property lets you finely control the leading space found both above and below text. Adam shows us how it works, and what problems it solves. Itβs in Chrome/Edge 133 and Safari 18.2, no Firefox support just yet.
Link to the article
#article
#frontend #css #html #chrome
Please open Telegram to view this post
VIEW IN TELEGRAM
1π6π₯1π¨βπ»1
Capacitor 7 has arrived, bringing a host of updates to ensure your apps stay compatible with the latest Android and iOS ecosystems while maintaining the framework's power and versatility.
Link to the release
#release
#frontend #mobile #capacitor #vue #react #ionic
Please open Telegram to view this post
VIEW IN TELEGRAM
1π4π₯1π¨βπ»1