A couple of Phusioneers attended Amsterdam JSNation last weekend (May 31 - Jun 1), hosted in the breathtaking Zuiderkerk church. What follows is an utterly subjective collection of favorite and/or memorable talks and anecdotes.
Vue.js HackJam Workshop
Paradigms, Pinterest & Best Practices
Douglas: "The universe is completely asynchronous, fully distributed, and highly parallel. Our programming model should embrace this truth. 'Nested callbacks' and 'promises' have been terrible means to the end (of managing asynchronicity)."
In 'Bringing Mobile Web back to Life', Imad Elyafi, previously with Facebook, talked us through the rebuilding of the Pinterest mobile web experience for authenticated users. Most important take-aways for me were his "metrics do not measure sentiment" and "beware of legacy assumptions". For Pinterest's case, reasons to fork for mobile outweighed making the app responsive.
Touching on PWA and Service Workers briefly, Imad goes on to talk about the several wins of the new code base, including navigation transitions no longer being blocked on the network, touch optimizations (navigation bar items give visual feedback) and 'dominant color placeholders', taking the dominant color of the image and displaying that while it loads. Imad even got to show some benchmarks to prove loading time (also for repeat loads) is way down.
Fatih Acet went on to share 'Vue JS Best Practices'. At GitLab they've been using Vue.js in production for over a year. While refactoring Fatih learnt a thing or two about state management, reactivity and tooling and now advocates single file components and scoped CSS. He also makes a good case for
v-show instead of
v-if for conditional rendering, which has a higher initial render cost but "will pay off in the long run".
Logging the brain and sorting socks
Claudia Hernández in her talk, benchmarks the
Scaling to callback heaven (not hell)
Asim Hussain's talk was advertised to be about scaling a SPA (single page app) and started out fun with a podcast recommendation (NPR Planet Money) and trading Twitterbot BOTUS. But it quickly digressed into lot of mentions of Azure and Microsoft's serverless architecture Azure Functions, which is the case all too often with a Microsoft employee on stage (Asim is a Cloud Developer Advocate at Microsoft).
Amsterdam JSNation celebrates open source software and hosted an award show just after lunch. And the winners are...
Breakthrough of the year: TensorFlow.js
Most exciting use of technology: isomorphic-git
Productivity booster: lint-staged
Most impactful community contribution: Storybook
Side project of the year: WarriorJS
We had a ton of fun at Amsterdam JSNation and the above certainly does not do the conference justice. Make sure to check out the talks for yourself. Videos from the Priests Hall track are already up on the Amsterdam JSNation YouTube channel.
1. A sorting algorithm is said to be stable one in which equivalent elements retain their relative positions after sorting.↩