Open in app

Sign In

Write

Sign In

George Treviranus
George Treviranus

122 Followers

Home

About

Jan 10, 2021

How to ‘listen’ for attribute changes in JavaScript

It’s nice to have event listeners for events on elements, but how do you listen for something like an attribute change? Enter MutationObserver. One of its best qualities is enabling you the ability to watch data not otherwise capable of being “listened” to, like a traditional DOM event. First, set…

JavaScript

2 min read

JavaScript

2 min read


Jan 2, 2020

“How the F do I add a JS pipeline to a Jekyll website,” you ask?

I hear you, I hear you. Let’s say you’re feeling masochistic and want to add some ES2015+ goodness to your static Jekyll site. It’s your holiday break, and you felt like learning a thing. You know, for fun. sigh In all seriousness, Jekyll is a decent alternative if you’re tired…

JavaScript

3 min read

JavaScript

3 min read


Oct 20, 2019

Handle Document Direction with a Handy Sass Mixin

Accounting for document direction can be frustrating. So, with the inspiration of my coworkers, I attempted to implement my own sass mixin to handle rtl formatting. While some of the CSS spec greatly accounts for document direction (flexbox, for example), much of it (mostly the older bits) doesn’t. This mixin…

CSS

2 min read

Handling Document Direction with a Handy Sass Mixin
Handling Document Direction with a Handy Sass Mixin
CSS

2 min read


Sep 15, 2019

Interacting with the DOM in JS, the Basics

Here’s a quick run-down of simple but easy methods to manipulate a web page using vanilla JavaScript. There are many more which are clearly outlined on pages like You May Not Need jQuery, but this should serve as a nice starting point on methods you are likely to use day-to-day. …

JavaScript

4 min read

JavaScript

4 min read


Apr 13, 2019

No-brainer Polyfill Solution for Single Page Applications

One of the more annoying parts of web development is supporting older browsers, and if web developers agree on one thing, it’s that you should be rewarding users for being in a modern browser. At least, I hope. Typically this means not loading polyfills if you don’t need to. Unfortunately…

JavaScript

3 min read

No-brainer Polyfill Solution for Single Page Applications
No-brainer Polyfill Solution for Single Page Applications
JavaScript

3 min read


Published in Scribd Data Science & Engineering Blog

·Feb 27, 2019

Common Accessibility Pitfalls for Single Page Apps — and How to Avoid Them

UPDATE 6/30/2019: I didn’t previously make some points clear around when/how to use react-router-last-location in conjunction with react-router-dom, so I’ve added some more details below. Preface: Although unrelated to this article, folks at Scribd have already shared some wonderful information about accessibility, varying from the anatomy of an accessible ebook…

React

5 min read

Common Accessibility Pitfalls for Single Page Apps — and How to Avoid Them
Common Accessibility Pitfalls for Single Page Apps — and How to Avoid Them
React

5 min read


Apr 6, 2018

Debugging strategies I wish I knew as a web development newbie

console.log( ) all the things. George is a front-end developer and digital designer living in Oakland, California. He currently codes things as a front-end developer at Scribd. When he’s not in a text editor, he can be found long boarding, playing video games, or napping. Usually napping.

Software Development

1 min read

Software Development

1 min read


Feb 24, 2018

On Practicing Empathy in the Work Place to Enhance Digital Products

I’ve been watching a great YouTube channel lately, run by Mattias P Johansson (formerly at Spotify), called Fun Fun Function. …

Agile

3 min read

On Practicing Empathy in the Work Place to Enhance Digital Products
On Practicing Empathy in the Work Place to Enhance Digital Products
Agile

3 min read


Jan 5, 2018

Create simple React component libraries with Webpack

There are a lot of great options and ways you can modularize your js applications these days, and one of my new favorites is bundling related components into their own single entry point using webpack. …

JavaScript

2 min read

JavaScript

2 min read


Oct 30, 2017

Company Culture: It Matters More Than You Think

Let’s be real: work is maybe 20% of your job. What about the rest? — I think we all crave something at our place of work: to feel needed, fulfilled, valued, and recognized as a person and not as a cog in a larger machine. It’s taken me a long time to see how the pieces should fit together for me, but now that I…

Hiring

3 min read

Hiring

3 min read

George Treviranus

George Treviranus

122 Followers

Learning to see. @gwtrev

Following
  • Julie Zhuo

    Julie Zhuo

  • Chris Messina

    Chris Messina

  • Foursquare

    Foursquare

  • Inside Designmodo

    Inside Designmodo

  • Nguyễn Việt Hưng

    Nguyễn Việt Hưng

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech