Pier Paolo Ramon

4.2K posts

Pier Paolo Ramon banner
Pier Paolo Ramon

Pier Paolo Ramon

@_pier

Venice based UX passionate, front-end engineer, head of digital at @SMCPartner, dad of one

Italy Katılım Ağustos 2008
583 Takip Edilen557 Takipçiler
jacob paris ▲
jacob paris ▲@jacobmparis·
I just found this custom hook and HAD to find out how it worked const [ref1, ref2, ref3] = useMultipleRefs() The hook returns an iterator - destructuring calls the iterator - on each iteration, the hook returns a useRef()
jacob paris ▲ tweet media
English
26
53
681
196K
Pier Paolo Ramon retweetledi
Lea Verou, PhD
Lea Verou, PhD@LeaVerou·
I have huge respect for Douglas and what he’s done for the Web, but this is a bit tone deaf to developer needs. No, you should *probably* not build a medium or larger web app today by “just” using the DOM directly or with thin abstractions like the one he proposes. Either you will wind up with a tightly coupled mess of a codebase or you will re-invent a lot of the concepts libraries and frameworks have spent years perfecting. The primary hurdle with using the DOM directly is not node creation (that indeed only needs a pretty thin abstraction to become palatable), it’s handling model updates. There are two avenues for updating the UI when using the DOM directly: 1. You naively overwrite the entire subtree that encompasses the nodes you actually need to update. Lots of problems with this: loss of user state, performance, tight couplings. 2. You use targeted DOM methods to update the specific attributes, text nodes, and properties you need. This is less destructive and generally faster, but it has several downsides. First, it also requires tight couplings across the entire codebase. Second, small increases in use case complexity require large increases in code complexity and size (even something as simple as two different controls that need to change different parts of the same attribute is nontrivial). The whole point of React, Lit, and many other libraries was to combine the DX of (1) with the performance of (2). Other frameworks like Vue use reactivity to improve on the DX of both. The raw DOM is fine for content-heavy sites that only need very little DOM update code. Even if they are large content-heavy sites. But web apps are a different story. I WANT a future in which frameworks and libraries are not as necessary for building nontrivial web apps. But to get there, we need a higher abstraction over the DOM, not to gaslight developers that they’re doing it wrong.
Cory LaViska@claviska

“The DOM is much less deficient and much more portable and reliable. That is why I now recommend abandoning the libraries, which have grown into bloated platforms, and instead using the DOM and plain old JavaScript together.” crockford.com/domjs.html

English
16
41
283
125.7K
Pier Paolo Ramon retweetledi
Channel 4 News
Channel 4 News@Channel4News·
"No way to create a backdoor that only the good guys can walk through." Signal President Meredith Whittaker says the Online Safety Bill will cause "unprecedented paradigm-shifting surveillance" - in a discussion with @cathynewman and former UK Tech minister Damian Collins.
English
171
1.9K
4.1K
1.5M
Pier Paolo Ramon retweetledi
Mauro Mariuzzo
Mauro Mariuzzo@MariuzzoMauro·
#LRDEVCON started. What a great opportunity to meet #Liferay people in person...
Mauro Mariuzzo tweet media
English
0
2
14
447
Pier Paolo Ramon retweetledi
Valerio De Stefano
Valerio De Stefano@valeriodeste·
Quando avete tempo, possiamo anche discutere del fatto che il Garante NON ha affatto bloccato ChatGPT, né ha mai deciso che in Italia vada bloccata l’intelligenza artificiale né sistemi di LLM come ChatGPT. Discutiamo da tre giorni di una allucinazione collettiva. THREAD 👇🏼
Italiano
29
221
513
111.9K
Pier Paolo Ramon retweetledi
SMC
SMC@SMC_DGScompany·
Cosa rende un team davvero inarrestabile? Francesca è arrivata in SMC portando nuove idee, entusiasmo e freschezza. Sempre disponibile, propositiva e coinvolta, è il collegamento diretto tra SMC e il mondo del lavoro. Scopri cosa ci differenzia: bit.ly/2VkGMGX
SMC tweet mediaSMC tweet media
Italiano
0
2
2
88
Pier Paolo Ramon retweetledi
SMC
SMC@SMC_DGScompany·
☄️ Nuovi arrivi nei team di SMC! Diamo il benvenuto ai nuovi colleghi: Martina e Luca Callocchia. 🔎 SMC è alla ricerca di sviluppatori, consulenti e project manager, scopri tutte le posizioni aperte: lnkd.in/enEkvbpZ #OnBoard #NewEntry #HR
SMC tweet media
Italiano
0
2
4
93
Pier Paolo Ramon retweetledi
Ashish
Ashish@Ash_uxi·
Here's the TLDR of the @figma all hands spaces. 🧵...
English
35
441
1.7K
0
Pier Paolo Ramon retweetledi
Eduardo Lundgren
Eduardo Lundgren@eduardolundgren·
It's been more than two years since @natecavanaugh passed away. I never met anyone that can keep up conversations like this guy. I miss you, my friend.
Eduardo Lundgren tweet media
English
5
3
44
0
Pier Paolo Ramon retweetledi
Porno
Porno@PornoNoblogs·
Ferragni e fascisti vari urlano una settimana che Milano è più insicura (contraddicendo tutti i dati disponibili) e Beppe Sala butta via 100.000 euro per delle telecamere a riconoscimento facciale che sono illegali in Italia e che diversi comuni hanno già dovuto spegnere🤦‍♂️
Porno tweet media
Italiano
12
107
509
0
Pier Paolo Ramon
Pier Paolo Ramon@_pier·
@Ridderingand Add an internal 1x1px frame with nothing inside. Add a top 10x padding to all other elements. Reduce by 1px (even go negative if necessary) the vertical distance between the input and other part. Problem solved. And bad inspection numbers for developers, but hey 🤷‍♂️
English
2
0
0
0
Ridd 🤿
Ridd 🤿@ridd_design·
I'm on a quest to build the PERFECT form system using component properties 🏆 And I'm 90% there! But I can't decide between two options... So I want your opinion 👇
Ridd 🤿 tweet media
English
9
15
141
0
Pier Paolo Ramon retweetledi
SMC
SMC@SMC_DGScompany·
Siamo orgogliosi di comunicare che da oggi entriamo a far parte ufficialmente del gruppo @dgs_group Per SMC questa nuova alleanza rappresenta un passaggio importante per poter soddisfare le esigenze della clientela a 360°. ➡ Leggi il comunicato stampa: lnkd.in/gXfrCDVj
SMC tweet media
Italiano
0
4
7
0
Pier Paolo Ramon retweetledi
Marco_Tessarin
Marco_Tessarin@Marco_Tessarin·
In questa foto cinque persone che hanno segnato la mia vita professionale. Mi soffermo sui quattro fondatori, radice, linfa e vita di una grande realtà imprenditoriale: @SMCpartner
Marco_Tessarin tweet media
Italiano
1
2
11
0
Pier Paolo Ramon
Pier Paolo Ramon@_pier·
@dan_abramov This would give a better experience on search UIs where intermediate states create an easier transition from a wider set of items to a narrower. Generally this could become a point in favor of a more mature data fetching library or framework.
English
1
0
0
0
Pier Paolo Ramon
Pier Paolo Ramon@_pier·
@dan_abramov About stale requests: the proposed solution (only keep the latest request’s response) has a potentially suboptimal UX. Since we are not cancelling the request we could also apply the intermediate response but only if you add some sort of request order tracking.
English
1
0
0
0