Search
Protecting Vue Routes with Navigation Guards
11.7.2019
Authentication is a necessary part of every web application. It is a handy means by which we can personalize experiences and load content specific to a user — like a logged in state. It can also be used to evaluate permissions, and prevent otherwise private information from being accessed...
The Fight Against Layout Jank
11.7.2019
A web page isn't locked in stone just because it has rendered visually. Media assets, like images, can come in and cause the layout to shift based on their size, which typically isn't known in fluid layouts until they do render. Or fonts can load and reflow layout. Or XHRs can bring in more content...
Libra Will Allow People To Use Digital Cash, And Will Prevent Money Laundering, Says David Marcus
23.6.2019
Cryptocurrencies and blockchain are two very complicated and technical subjects which require an in-depth study and efforts to understand. This is what lacks among most regulators and critics of, which leads to various accusations resulting from unawareness. Facebook’s Vice President for Messaging...
FATF to Strengthen Control Over Crypto Exchanges to Prevent Money Laundering
21.6.2019
At the plenary session today, the FATF focused on greater regulation of cryptocurrency to stop its usage in money laundering
Prevent Page Scrolling When a Modal is Open
3.6.2019
Please stop me if you've heard this one before. You open a modal, scroll through it, close it, and wind up somewhere else on the page than you were when you opened the modal.
That's because modals are elements on a page just like any other. It may stay in place (assuming that's what it's meant...
Electroneum (ETN) Price Analysis: No Effective Support Resistance Yet To Prevent ETN Dipping Down
21.5.2019
Just 3 days earlier, the slightest hope was seen in the ETN charts as it temporarily halted from going down to nihility. But the hope again turned into hopelessness as it continuously dipping down to 44 sats. Uncertainty has encircled ETN to such an extent that investors are not having any interest...
KV Storage
1.4.2019
localStorage is...
Good! It's an incredibly easy API to use.
localStorage.setItem('name', 'Chris'); let name = localStorage.getItem('name');
Bad! Philip Walton explains why:
localStorage is a synchronous API that blocks the main thread, and any time you access it you potentially prevent your...
Writing Tests for React Applications Using Jest and Enzyme
1.3.2019
While it is important to have a well-tested API, solid test coverage is a must for any React application. Tests increase confidence in the code and helps prevent shipping bugs to users.
That’s why we’re going to focus on testing in this post, specifically for React applications. By the end, you’ll...
Responsive tables, revisited
16.5.2018
Lea Verou with some extra super fancy CSS trickery. No way we could miss linking this one up!
One of the problems with responsive table solutions, at least the ones where you are using CSS to rejigger things, is that there is duplicated content somewhere. Either in CSS or HTML.
Lea finds two ways...
Finger-friendly numerical inputs with `inputmode`
30.4.2018
Forms are often a nightmare on mobile. We can make the process as pain-free as possible by reacting to context. Input fields that expect numerical values should have a numerical UI. Bringing up a number keyboard on small screens is easy on most platforms — just use a <input...