Hopp til hovedinnhold

Innhold om Frontend

Totalt 322 innlegg

Side 7 av 22

Tagged template literals

Frontend
Artikkel (3 min)
Fra Mats Byrkjeland
22.12.2021

Template literals (`My name is ${name}`) have existed in JavaScript for a while. There is a good chance that it is your preferred way to concatenate strings in JavaScript. A slightly lesser known sub-feature of this is the tagged template literal (myTag`My name is ${name}`). What is it and why should you care?

Why I love Style Dictionary, and why you should too

Frontend
Artikkel (8 min)
Fra Kristofer Selbekk
21.12.2021

Style Dictionary is one of the very best tools I've ever encountered. It's powerful, fun, and great for managing your design tokens!

Subscription pattern with Compound components in React

Frontend
Artikkel (7 min)
Fra Jørund Amsen
20.12.2021

Compound component is a react design pattern popular in UI libraries such as Chakra, Reach, Semantic and Material. It allows us to write a declarative and flexible API for complex components that implicitly share a state. Today we'll look at an introduction and a slightly more complex example of the patthern

Something about lock files

Frontend
Artikkel (6 min)
Fra Joakim Sjøhaug
15.12.2021

We've all been there: we created our first react project and was introduced to the lock file. Some took the time to understand it whereas others was scared of it and instinctively added it to the .gitignore file. This post will give a short description of the lock file, how we should treat it and use it correctly.

Fixing a performance problem in Elm using Html.Lazy

Frontend
Artikkel (9 min)
Fra Robin Heggelund Hansen
14.12.2021

How you can increase the performance of your Elm application using Html.Lazy, and why that motivated me to look into elm-css.

CSS Container Queries

Frontend
Artikkel (4 min)
Fra Hans-Christian Fjeldberg-Gustavson
13.12.2021

Web har alltid vært en plattform hvor innholdet må tilpasse seg forskjellige skjermer og skjermteknologier. Media queries har gjort det mulig for oss å tilpasse designet vårt til denne hverdagen, men i en hverdag hvor vi skriver flere og flere komponenter strekker ikke media queries alltid til. Møt CSS container queries, et nytt standard-forslag som endelig skal la oss kode komponenter uavhengig av resten av designet!

Communication with Bluetooth devices using React and TypeScript

Frontend
Artikkel (8 min)
Fra Sivert Schou Olsen
12.12.2021

Bluetooth is a technology that you might use every day; This could be wireless headphones, game controllers or heart rate monitors, which all use Bluetooth. Until recently, I imagined technology like this required implementation of low level drives in C, but oh'boy, was I wrong! Thanks to Web Bluetooth, it is now possible to communicate with Bluetooth peripherals through the browser with JavaScript! We will explore how we can create a web app using React, TypeScript and Web Bluetooth to control our favourite smart lights to make our home ready for Christmas 🎅

Implementing unfurling URLs in Sanity

Frontend
Artikkel (4 min)
Fra Kristofer Selbekk
09.12.2021

Want to add those nice-looking link previews you get when you share a link on Medium or Twitter? Then this article is for you!

Typesafe forms in TypeScript

Frontend
Artikkel (5 min)
Fra Vegard Veiset
07.12.2021

Have you ever written a form with multiple steps in JavaScript and thought "this isn't very elegant"? I have. Let's take a look at how we can make our forms better with type safety and TypeScript!

Joyful onboarding with React Joyride

Frontend
Artikkel (3 min)
Fra Sindre Moldeklev
07.12.2021

Have you ever had some new functionality that you would like to showcase for your users? Perhaps your userbase is not the most tech-savvy and they need some guiding when new features are shipped. React Joyride let's you easily create guided tours that your users will enjoy.

Create a useful link abstraction in Next.js

Frontend
Artikkel (2 min)
Fra Kristofer Selbekk
07.12.2021

The internal link abstraction with Next.js less than perfect. Let's create a better one!

Building Tool Plugins for Sanity Studio

Frontend
Artikkel (5 min)
Fra Aslak Sheker Mkadmi
06.12.2021

Learn how to easily build your own Tool Plugins to customize Sanity.

The View of Vue

Frontend
Artikkel (10 min)
Fra Caroline Odden
04.12.2021

An introduction to Vue 3 from a React developer.

Storybook: background change on prop change

Frontend
Artikkel (7 min)
Fra Tobias Skjelvik
03.12.2021

Tired of manually changing the backgrounds in Storybook whenever you change the color theme of your component? With a few lines of code, storybook can automatically change the background color whenever certain props on your component change.

VoiceOver for dummies

Frontend
Artikkel (3 min)
Fra Ingeborg Sætersdal Sollid
03.12.2021

Everyone that works with development of web pages has to deal with universal design. Accessibility should be considered from the start and it is therefore smart to test with a screen reader during the development. It is often more costly to make an existing project accessible, rather than just doing it right the first time. This fall I have tried to learn how to use VoiceOver on Mac. I want to share with you the most essential parts I have learned and I hope this introduction will help you get started with VoiceOver.