Hopp til hovedinnhold

Innhold om Frontend

Totalt 322 innlegg

Side 8 av 22

How to lazy render large data tables to up performance

Frontend
Artikkel (4 min)
Fra Miina Lervik
02.12.2021

When working with large tables with many rows and columns you might find that your application is starting to lag. Especially if your table has a lot of custom styles, clickable rows or sortable columns, rendering can become an issue. In this post I'll show you how you can lazy render your table to make it fast and snappy!

What are Prototypes in JavaScript?

Frontend
Artikkel (5 min)
Fra Petter Sæther Moen
01.12.2021

Have you ever inspected an object in your browser's console and stumbled upon the field [[Prototype]] or __proto__. Or maybe you have seen someone use the mystical prototype field on classes, such as String.prototype. Ever wondered what kind of sorcery this prototype is? Great! ️This article will hopefully make things a bit clearer, and make you an advanced prototype wizard. 🧙‍♂️

Inside the React Core team

Frontend
Artikkel (8 min)
Fra Rachel Nabors
24.12.2020

Log Off and Read Some Docs

Frontend
Artikkel (2 min)
Fra Aksel Wester
24.12.2020

Wow! It's Christmas Eve, and elm.christmas is drawing to a close. We've published 24 articles, and I want to thank you for visiting our advent calendar, regardless of whether you've read all 24 articles, or if this is the first one you've read. This last article won't be long, as I just want to highlight a neat tool that you might not have used for your Elm project.

JavaScript Mystery

Frontend
Artikkel (1 min)
Fra Svein Petter Gjøby
24.12.2020

From all of us behind javascript.christmas, to all of you: Merry Christmas! We really hope you've enjoyed our advent calendar. For our very last article in this advent calendar, we need your help saving christmas.

Deck the Halls With React Three Fiber

Frontend
Artikkel (5 min)
Fra Ida Marie Vestgøte Bosch
23.12.2020

Earlier this year I tried using three.js within a React app. It wasn't straightforward, and I ran into quite a few problems. Since then, I've been eager to try out this library a co-worker told me about: react-three-fiber. Apparently, it could solve all my problems (ok, maybe only a few) and make it super easy to create cool animations with few lines of code. Say no more!

Json decoders in TypeScript

Frontend
Artikkel (14 min)
Fra Tarjei Skjærset
23.12.2020

When it comes to ports, three's a crowd.

Frontend
Artikkel (4 min)
Fra Robin Heggelund Hansen
23.12.2020

Now that you've learned how to define both incomming and outgoing ports, you might wonder how many of them you need. It might seem reasonable to require two ports for each javascript function you wish to call, but what if I told you'll need, at most, two for the entire application?

"JavaScript" != "Javascript"

Frontend
Artikkel (3 min)
Fra Charlie Midtlyng
22.12.2020

When I studied computer science for five years there was a lot of mathematics. Equality was probably the simplest part. After ten years of working, I’ve done a lot of JavaScript. Equality is not the simplest part… Why?

Outbound ports

Frontend
Artikkel (2 min)
Fra Anonym
22.12.2020

In yesterday's post, we learned about inbound ports in Elm. Today, instead of receiving a message, we want to send a message from our Elm application to the outside world that is JavaScript.

Create a generic table with React and Typescript

Frontend
Artikkel (5 min)
Fra Miina Lervik
22.12.2020

When I first started out with Typescript I found it very difficult to create the correct types when making generic components. In this article we will create a generic Table component that can be used with any set of objects.

Inbound ports

Frontend
Artikkel (3 min)
Fra Anonym
21.12.2020

What if your elm program needs to communicate with the JavaScript enclosing your application? Maybe you need some kind of messages flowing into the elm lifecycle and need to act on such events? To receive messages from JavaScript we can make use of inbound ports🌈

/** Make the nice list with JSDoc */

Frontend
Artikkel (5 min)
Fra Kristofer Giltvedt Selbekk
21.12.2020

Documenting stuff is important, folks! Where would Santa be without his naughty and nice list? Let's spend a few minutes learning how you can improve the user experience of your components by adding a slash and a couple of stars in front of it!

The new Operator

Frontend
Artikkel (6 min)
Fra Eirik Vigeland
21.12.2020

You probably came here to read about something cutting edge in JavaScript, but today we’re going to do a deep dive into one of the fundamental operators of JavaScript, new.

Remote Data

Frontend
Artikkel (7 min)
Fra Aksel Wester
20.12.2020