Hopp til hovedinnhold

Innhold om Frontend

Totalt 322 innlegg

Side 11 av 22

Raw GPU power with shaders in three.js

Frontend
Artikkel (5 min)
Fra Holger Ludvigsen
10.12.2020

It is time to unleash the christmas spirit hiding behind that noisy fan in your computer. In this article, we will use shaders in WebGL to make animations no one could imagine in JavaScript before.

Partial application of functions!

Frontend
Artikkel (2 min)
Fra Vetle Bu Solgård
10.12.2020

Currying (👈 which you read about in yesterday's post) enables partial application, which lets us split up functions into small logical building blocks which are easier to both read and work with.

Hurry, curry!

Frontend
Artikkel (2 min)
Fra Robin Heggelund Hansen
09.12.2020

Today we'll look at an interesting property of Elm known as currying. We will only explain the principle today, then spend the next two days seeing how it can be useful in practise.

3D with WebGL and three.js

Frontend
Artikkel (4 min)
Fra Holger Ludvigsen
09.12.2020

As a developer, you have surely wondered if the web can do full 3D beyond tweaking the z-index and fiddling with CSS 3D transforms. WebGL is the API for making such fully customizable visualizations in all dimensions. We can use this together with de facto standard framework three.js to unlock this mysterious domain.

Validate Your Parking

Frontend
Artikkel (5 min)
Fra Markus Rauhut
09.12.2020

He couldn't believe it. This certainly couldn't be true. Someone else must have made a mistake here. He read the email a second time. Maybe he missed something and the whole thing was just a big misunderstanding? But he didn't, of course. He is the kind of person who always pays attention to typos, therefore reading it again was quite pointless. Anger started spreading through him. How dare they? It felt so incredibly stupid and unfair. Especially considering he was such a law-abiding citizen. He despised those who didn't follow rules. They couldn't possibly mean that he was one of them? Yet this is exactly what the email was saying: "We can inform you that you unfortunately have used the wrong licence plate in the app, which is why you have been given a fine. In this case the fine is issued on AB12345, while parking was activated for AB1234 in the app.". Filled with rage, he locked his phone and shoved it back into his pocket. He missed one bloody number!

Peeking Inside Lists

Frontend
Artikkel (4 min)
Fra Aksel Wester
08.12.2020

Working with lists in Elm is nice, but getting a sense of what’s inside a list can be tricky. In this article we will look at a techinque that allows us to get access to the elements inside a list.

10,000 Commits Later - Switching to React Native in 2017

Frontend
Artikkel (11 min)
Fra Erik Wendel
08.12.2020

Back in 2017, my team were working on a feature-packed, widely used mobile app with a legacy codebase. The app had way too much logic, logic of the complex sort, with loads of very old code calling old APIs. Build times were terrible. Noone had a complete understanding of the code.

Create your first NPM package!

Frontend
Artikkel (7 min)
Fra Niklas Molnes Hole
08.12.2020

Maybe you are burning inside with an idea of an NPM package that could revolutionize the world? Or maybe you just want to see what it's all about? This article will be a simple tutorial on how you can get started with creating NPM packages - which I, personally, found to be a quite useful skill to have!

What and why and how are worklets in Reanimated 2?

Frontend
Artikkel (4 min)
Fra Hannes Waller
07.12.2020

A brief introduction to Reanimated 2's worklet directive and how it can help us animate our apps.

Whats new in ES2021?

Frontend
Artikkel (4 min)
Fra Henriette Chiem
07.12.2020

The new version of ECMAScript, ES2021 is expected to be released in June 2021. What new features can we expect from the new release? This article covers some of the features in the upcoming release, and how we can put them to use.

Simplify your code with ad hoc tuples

Frontend
Artikkel (2 min)
Fra Holger Ludvigsen
07.12.2020

With Elm's strong types, we must be precise when writing our business code. Precision is a good thing, but it often has the drawback of being verbose. Ad hoc tuples can save the day with clear and precise syntax!

Clean Code™ in JavaScript with TypeScript and Automatic Type Generation

Frontend
Artikkel (4 min)
Fra Fred Heggenes
06.12.2020

Even today, many people shy away from JavaScript because it is seen as unreliable or unpredictable. Without strong typing and compiling, unexpected problems can arise at runtime that nobody will see until it gets uncovered as an error in a production environment.

React Testing Library

Frontend
Artikkel (7 min)
Fra Daniel Strømme Solberg
06.12.2020

Do you feel compelled to manually test your React frontend after each deploy, because it’s not tested as well as your backend? Or perhaps you already have frontend tests, but you feel that they only serve as a hindrance, slowing down your development speed? Perhaps it’s time to give frontend testing another go, with the React Testing Library!

Climbing trees

Frontend
Artikkel (2 min)
Fra Ragnhild Aalvik
06.12.2020

Custom types are powerful data structures that might seem somewhat complicated to work with, at least if they are nested. Let's take a look at how we can deal with nested custom types in a simple way! 🍊

Letting functions in

Frontend
Artikkel (3 min)
Fra Isak Singh
05.12.2020