Hopp til hovedinnhold

Innhold om Frontend

Totalt 322 innlegg

Side 12 av 22

Module Federation: Micro-frontends with webpack 5

Frontend
Artikkel (6 min)
Fra Hege Haavaldsen
05.12.2020

In this article, we will look at one of webpack's exciting new features, Module Federation. This feature will allow dynamic code reloading from another project at runtime. Using module federation will enable sharing code from other projects with only a little tweaking in your webpack config. It can make a website consisting of multiple frontend applications appear as one seamless SPA. Neat, huh?

The power of let expressions

Frontend
Artikkel (4 min)
Fra Ragnhild Aalvik
04.12.2020

In the previous christmas articles we have seen how to destructure tuples, records, and single-value custom types in the function arguments. Today we take a look at how to destructure values in let expressions, along with some of the use-cases where I find this the most helpful.

Closures

Frontend
Artikkel (5 min)
Fra Henrik Hermansen
04.12.2020

Although I've been a professional developer for over seven years, there are still many programming terms I've yet to fully understand. I've heard the term "closures" many times, but I never really bothered to dive into the meaning of it. Maybe this is because I had a decent idea of what it was about, and I knew pretty well how to use it? It's about time I take the leap to figure this out, and finally get some closure.

Intelligent fetching and caching with SWR

Frontend
Artikkel (7 min)
Fra Jon Johansen
04.12.2020

Every now and then, a library surfaces that change the way you're used to thinking. In this case, it is rethinking the data flow in your React app. SWR provides a complex data store with a simple interface, helping you write simple patterns with less code.

🎶On the third day of christmas a developer sent to me.. 3 React security tips!

Frontend
Artikkel (8 min)
Fra Julie Hill Roa
03.12.2020

As frontend developers, our focus is on the users experience in our application. How fast and efficient the application is and how smooth the functionality can be. We all might say security on our minds, but we often rely on somebody else to handle this. Luckily, modern web frameworks, like React, come with built-in security against one of the dangers of the web – Cross Site Scripting (XSS) attacks. But what does React actually defend us from and more importantly what does it not?

Single-Constructor Custom Types

Frontend
Artikkel (5 min)
Fra Aksel Wester
03.12.2020

Deno, a framework for JavaScript-ing

Frontend
Artikkel (5 min)
Fra Kjetil Svalestuen
03.12.2020

Back in 2009, Ryan Dahl entered the stage on JSConf and presented his newest project, Node.js. And since then, Node has grown into an enormous ecosystem with over 1.5 million packages on NPM. 9 years later, during JSConf 2018, he enters the stage again. This time, he apologizes to the JavaScript community and discusses the 10 things he regrets about Node. Towards the end, he reveals his new project, an alternative framework for JavaScript development. The new project is called Deno. And this year, Deno finally left the alpha stage, offering a stable CLI and solid documentation. Which means it's the perfect time to have a closer look!

Unpacking Records

Frontend
Artikkel (2 min)
Fra Jørgen Tu Sveli
02.12.2020

Records in Elm are quite like JavaScript objects. In ES6, destructuring objects can produce compact and concise code. This article explores some techniques that Elm offers to the same effect.

The Three Ways of Fetching

Frontend
Artikkel (7 min)
Fra Ida Marie Vestgøte Bosch
02.12.2020

I'm part of a group that holds introductory courses on web development for students and new employees in Bekk. In the course we say that there are three ways to retrieve data in JavaScript, but we only explain one of the methods. Now, let's see how each of them works: callbacks, promises and async / await.

War stories: The move from Flow to TypeScript

Frontend
Artikkel (12 min)
Fra Kent Andersen
02.12.2020

8 developers, 1240 files, 102 665 lines of code. This is the story of how we translated our entire codebase from Flow to TypeScript and lived to tell the tale.

Seven Interesting Things About React Native

Frontend
Artikkel (10 min)
Fra Caroline Odden
01.12.2020

React Native is a React framework developed by Facebook to write code for mobile applications. In this article I will share some things I found interesting over the years working with this technology.

Once, twice, three times a value

Frontend
Artikkel (3 min)
Fra Jørgen Tu Sveli
01.12.2020

Welcome to the Elm christmas calendar, and to the first of 24 articles that will teach you some tricks and useful concepts you might not already know. Today we are discussing Tuples. It is perhaps Elm's simplest way of structuring data. We also introduce a concept recurring across several days; pattern matching, or destructuring. The first use-case is pattern matching of tuples in function declarations.

Javascript Addition

Frontend
Artikkel (5 min)
Fra Charlie Midtlyng
01.12.2020

JavaScript:Do you know addition? Me:Of course! I learned mathematics when I was seven, addition is fairly easy! JavaScript:Do you really know addition? Please solve this equation Me:Eh? JavaScript:Welcome to JavaScript addition!

Four Exciting Web Proposals

Frontend
Artikkel (6 min)
Fra Kjetil Svalestuen
24.12.2019

The JavaScript Advent Calendar is coming to an end. For each day in December, we've written an article on a subject that matters to us. If you want to keep learning about the language and the web itself, here's four exciting web proposals you might want to play with during the holidays!

Implement typography how the designer wants it

Frontend
Artikkel (4 min)
Fra Alexander Vassbotn Røyne-Helgesen
24.12.2019