Friday Frontend: All Eyes on Vue Edition
Tags: css, javascript, webdev, vue
Published: 2019-06-28 15:25:35

---
title: Friday Frontend: All Eyes on Vue Edition
published: true
tags: css, javascript, webdev, vue
canonical_url: https://zendev.com/2019/06/28/eyes-on-vue-edition.html
---

Hope you had a great week! This last weekend was a crazy one in the Vue.js world as a recent RFC (actually linked to in our [June 14 newsletter](https://dev.to/kball/friday-frontend-emphasis-on-accessibility-edition-3j1)) inspired a tremendous amount of controversy and pushback. Included below are several articles exploring the RFC deeper, and that was enough to spark a theme so we’ve got some additional Vue articles as well.

As always, there’s also a regular helping of great CSS and other web focused articles. Enjoy!

Best,  
KBall from ZenDev

#### CSS & SCSS

##### [Building a Conference Schedule with CSS Grid](https://css-tricks.com/building-a-conference-schedule-with-css-grid/)

This is brilliant. I love the way he highlights how grid works with regular incremental units (in this case increments of half an hour), but then added named grid lines to make the actual styles extremely readable. I don’t know if you can get more semantic CSS than \<code\>grid-row: time-0900 / time-1030; grid-column: track-1;\</code\>.

  

##### [CSS at Scale: Cosmetic vs Layout Properties](https://levelup.gitconnected.com/css-at-scale-cosmetic-vs-layout-properties-a1c8acc875d7?sk=4ab03d819d9ddc94acb7dfcf37f8dc76)

This is a super important concept; I’ve also heard this split described as “graphical” vs “structural” properties, but regardless of what you call it understanding the distinction between properties that influence how the page lays out vs those that simply apply “flare” or change visual properties of the exact item you’re manipulating is a key concept.

  

##### [CJSS: A CSS based web framework](https://github.com/cjss-group/CJSS)

This is hilarious. You’ve heard of CSS-in-JS? This is JS-in-CSS. Not to mention HTML-in-CSS. It is a build-time framework that uses your CSS file as the source of truth and generates HTML and JavaScript files from it. Not for serious use, but very entertaining and thought provoking.

  

##### [Pure CSS Only Portrait - Isla](https://codepen.io/ivorjetski/pen/dBYWWZ)

In the “holy smokes that’s crazy” category of inspiration, check out this portrait made entirely with HTML and CSS. The author comments it took him “roughly 100 hours”, and includes a sped up video showing some of the process. Definitely click through to that video… in fact, it’s so good I’ll include a link directly [here](https://www.youtube.com/watch?v=py8Nl_7Furc).

  

#### JavaScript

##### [Vue's Darkest Day](https://dev.to/danielelkington/vue-s-darkest-day-3fgh#0)

Written in reaction to a series of extremely negative feedback on the recent Vue.js functional API RFC, this is both a refutation of the negativity and a set of code-based examples showing how the new API would make for cleaner code.

  

##### [3 Key Insights from Vue's new functional API RFC](https://dev.to/kball/3-key-insights-from-vue-s-new-functional-api-rfc-5467)

(Bias alert - I wrote this) My own take on the Vue.js functional API RFC, with a focus on what it can tell us about the future of front-end development. There is a ton of valuable and positive stuff here that is pushing the web forward.

  

##### [Vue without View - An Introduction to Renderless Components](https://dev.to/ycmjason/vue-without-view-an-introduction-to-renderless-components-23ld)

An interesting look using components as a way to compartmentalize logic and functionality that is not directly related to rendering templates. While personally I’m not a huge fan of this example, I think the approach is super valuable. A situation that makes a lot more sense to me using this approach is when creating components that interact with APIs like maps APIs, as shown in [this talk](https://www.vuemastery.com/conferences/vueconf-us-2018/a-react-point-of-vue-divya-sasidharan/) from VueConf.US 2018.

  

##### [10 Things You Should Know Before Writing Your Next Vue.js Component](https://dev.to/treyhuffine/10-things-you-should-know-before-writing-your-next-vue-js-component-1ign-temp-slug-9674555)

A solid list of useful tips that you might not have come across if you’re relatively new to Vue.js. None of them are earthshattering, but all of them are useful.

  

##### [Forget about component lifecycles and start thinking in effects](https://sebastiandedeyne.com/forget-about-component-lifecycles-and-start-thinking-in-effects/)

Great description of how the Hooks API leads us from an imperative style of implementing side effects (“Do thing x on mount, do thing y on unmount”) to a declarative style of implementing side effects.

  

#### Other Awesomeness

##### [Render Snarky Web Comments in Comic Sans](https://www.zachleat.com/web/snarky/)

This is absolutely delightful, and while it’s a couple of weeks old I think with all the negativity that was floating around this last week it’s well worth looking at ways like this to lighten things up.

  

##### [Bringing service workers to Google Search](https://web.dev/google-search-sw/)

A fascinating case study looking at all of the challenges encountered and overcome in implementing service workers on Google Search. Google’s search features are perhaps the most performance-sensitive pages on the planet, [loaded over 63,000 times PER SECOND](https://seotribunal.com/blog/google-stats-and-facts/), so their challenges are pretty unique, but some of the lessons they drew are broadly applicable.

  

##### [The #1 Easiest Way to Speed Up a Slow Website](https://www.machmetrics.com/speed-blog/the-1-easiest-way-to-speed-up-a-slow-website/)

This is definitely some low hanging fruit, but I have sites where I haven’t done it properly. The method in question? Image optimization! The article provides some data on how widespread it is, the scope of the issue, and some recommendations on what you can do to address it.

  

##### [Drop caps & design systems](https://product.voxmedia.com/2019/6/17/18524029/the-ballad-of-drop-caps-and-design-systems)

Implementing drop caps in a consistent way on the web is strikingly hard. I remember [a PR in ZURB Foundation](https://github.com/zurb/foundation-sites/pull/9609) attempting to handle this that got over 100 comments and multiple versions and iterations… and still never got merged. This article walks through some of the challenges as well as different approaches and the solution that Vox Media eventually landed on.

  

##### [5 Keys to Accessible Web Typography](https://betterwebtype.com/articles/2019/06/16/5-keys-to-accessible-web-typography/)

An excellent article on the elements that go into making typography accessible on the web. As someone who browses using standard web browsers but has pretty terrible vision, I really appreciate the tips to allow the resizing of typography based on user preferences and keeping the actual observed contrast high.

  

* * *

#### Happy Friday!

That's it for this week's Friday Frontend newsletter. If you enjoyed this, you should probably [follow me on Twitter](https://twitter.com/kbal11) or join my mailing list. Sign up to get these newsletters straight to your inbox every Friday! Sign up here: [https://zendev.com/friday-frontend.html](https://zendev.com/friday-frontend.html)