DEV Community

Lars Ejaas profile picture

Lars Ejaas

I love coding and what motivates me is problem-solving and preferably if it has an element of creativity. I am a self-taught developer and work full-time as a front-end developer.

Location Denmark ๐Ÿ‡ฉ๐Ÿ‡ฐ Joined Joined onย  Personal website https://larsejaas.com/en/ github website twitter website

Education

Bachelor in Nutrition and health (I know not super relevant to my current line of work!)

Work

Frontend developer at AccuRanker

All 106 comments

I quit my business to start an open-source dev tool

Thanks for sharing. As someone who have never tried starting...

Code Smell 145 - Short Circuit Hack

Yeah, that makes sense ๐Ÿ˜„

Code Smell 145 - Short Circuit Hack

But we are not always writing the data or code with null ours...

Testing a React Application Creating a Cypress Test

Thanks Diego. I will check it out ๐Ÿ˜€

Testing a React Application Creating a Cypress Test

Thanks for this nice article. Even though I have made quite a...

How I want to become a better programmer in 2022 - First Quarter

Please share your experience with the A11y course once you ha...

How I want to become a better programmer in 2022 - First Quarter

You sound very ambitious. But I think it's great you are flex...

From Jest to Vitest - Migration and Benchmark

Oh, that looked surprisingly simple! I am still a bit unsure...

Enzyme is dead. Now what?

I also really keep my eyes on the new Vitest library. It is i...

Password Validator

Cool! Still trying to learn regEx. I do not need it much, but...

How are you using Styled Components?

Yeah, that makes sense! But I need to do some rework on the w...

How are you using Styled Components?

Hmm, I really love this. However, I tried it and couldn't mak...

How are you using Styled Components?

Ahh, you are welcome! Feel free to drop me a message if somet...

How are you using Styled Components?

@nipuna what issues have you come across? I haven't really e...

How are you using Styled Components?

Ahh, missed the part regarding tag-specific variants: I use ...

How are you using Styled Components?

Hi Nitzan I only have an older repo to share, and honestly I...

How are you using Styled Components?

I prefer to write the styling in a seperate file and import t...

How are you using Styled Components?

Yeah, I have worked quite a bit with styled components actual...

5 reasons why we ended up rewriting the whole application before its release

Yeah, totally agree! I do not think anyone does a full rewrit...

Redux VS React Context

And Redux isn't really ideal for storing serialized data. A q...

UI design trends of today and how to apply them in your apps

Nice article! Really good at explaining small details in desi...

5 reasons why we ended up rewriting the whole application before its release

Great article! At my work (working as a frontend developer) I...

Authenticating things with cookies on Next.js

Just wow! Thanks for this article! Learned a lot! I really ha...

The #1 Best Design Pattern for Managing Forms in React

Great article. I like your examples. I need something similar...

8 UI/UX tips about password design

Great article! Will definitely remember this as a reference p...

You are reading environment variables the wrong way in Next.js

I think I will make my own validation function to handle my u...

You are reading environment variables the wrong way in Next.js

I totally agree with you. But somehow got the impression that...

You are reading environment variables the wrong way in Next.js

I am working on a project in nextJS written in Typescript. I ...

Does coding become less fun when its a job?

Well, I have to get back on this one: Starting in my first fr...

How to add page transitions to a nextjs app

Small follow up if anyone is facing a similar issue: router....

How to add page transitions to a nextjs app

This is really cool. I need to dig a bit into this, as I do n...

5 Interviews, 7 hours: Lessons From Not Getting A Big Tech Job Offer

Cool, if you can apply for jobs and get hired in 2 rounds go ...

5 Interviews, 7 hours: Lessons From Not Getting A Big Tech Job Offer

Well, I think it's a shame if one bad experience is all it ta...

Typescript Type Assertions

Stephan, this is so useful! Thanks a lot, I think this is THE...

A Better Way to Manage Z-Indexes

There is actually a maximum value for z-indexes. it's 2147483...

How to add Algolia InstantSearch to your Next.js application

Yeah! The possibilities with Algolia are almost endless! Cert...

Adding Shiba Inu Loading and Error SVGs to My React Site

Cool! These are the details that makes a page original and I ...

How to add Algolia InstantSearch to your Next.js application

Thanks for this article. This article and Algolia's documenta...

Styled Components 101 ๐Ÿ’… Lecture 3: SSR with Next.js + Custom Icon Fonts ๐Ÿ˜

Thanks for taking time to explain all of this. Setting up Sty...

Don't waste your time on a (React) portfolio website - 60+ hiring managers and a survey

I actually haven't been to a single job interview where my po...

Why I Decided To Stay A Frontend Engineer And Stopped Searching Full-Stack Jobs

Frontend developers also need to know more and more backend s...

How does the promotion of posts work on DEV?

That's sound very typical! ๐Ÿ˜‚๐Ÿ˜…

How does the promotion of posts work on DEV?

LOL ๐Ÿ˜† That must be "the bible of coding" or similar

Git it Right๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿš€(Git CheatSheet)

Funny this one popped up in my Facebook feed just as I am pre...

You donโ€™t need React for building websites

It is refreshing that you take a stance and for someone like ...

Things I learned doing my Portfolio

Thank you for the kind words ๐Ÿ˜Š I wish you the best of luck! I...

Things I learned doing my Portfolio

Cool page! My Spanish is a bit... ehh.. rusty! ๐Ÿ˜๐Ÿ˜‚ But I reall...

How to learn Git slowly.

This article is really awesome! Thanks for doing this!

What JavaScript do you need to know to write Single-Page-Applications more effectively: A Guide

This is a very useful article for anyone new to frameworks! ...

๐ŸงMost Confusing Part Of JavaScript.

My problem with the 'this' keyword is that you basically go a...

Your Product Shouldn't Be an App

Ohh, I am really keeping my fingers crossed for Apple to fina...

Why we use "key" in React?

Yeah, why is it that you can never come up with great catchph...

Vite.js or How i became the fastest programmer alive.

Keep hearing Vite mentioned but never got around to actually ...

Why we use "key" in React?

You could say it is the "key" to great performance ๐Ÿ˜‰๐Ÿ˜ Great a...

Jamstack Hosting Solutions: Challengers to the Throne

I have only used Netlify so far, but have tested a few pages ...

Dependency Injection /Services pattern for React (inspired by Angular)

LoL ๐Ÿ˜‚ Styled components is a bit of a love/hate relationship ...

Dependency Injection /Services pattern for React (inspired by Angular)

Well, I do not see your solution as a bad implementation at a...

Dependency Injection /Services pattern for React (inspired by Angular)

Ahh, yeah! That makes sense! I still have a lot to learn whe...

Dependency Injection /Services pattern for React (inspired by Angular)

I am trying to wrap my head around this idea and understand i...

5 Ideas for Web Developer Portfolio Projects that Standout

Yeah, second this! Working on something you are passionate ab...

50 Cool Web And Mobile Project Ideas for 2021

Thanks Andrew. I am glad you liked it! The best about the pag...

5 projects to master Front End Development

Thanks! I am glad you liked it ๐Ÿ˜Š

50 Cool Web And Mobile Project Ideas for 2021

Hi there. These are some really cool ideas! I recently did a...

5 projects to master Front End Development

Great article and some solid ideas. I sure learned a lot when...

How to use CSS Media Query Breakpoint in Styled-Components

Nobe, unfortunately you cannot use CSS variables to set the b...

Productivity with styled-components

Yeah, I just always thought it would be a pain with a list wh...

Productivity with styled-components

well, i name the folder after the component and the style fil...

Why I might drop WordPress for Strapi hopefully forever

That makes so much sense! And tech shouldn't be used for the ...

I built an interactive 3D photo display with JavaScript

Ahh - glad you liked it! It's actually a couple of years old ...

I built an interactive 3D photo display with JavaScript

Wow! That's really cool! Never really got around to learning ...

Why I might drop WordPress for Strapi hopefully forever

I actually feel headless WordPress would be a great option fo...

Why I might drop WordPress for Strapi hopefully forever

Although the analogy actually is quite funny ๐Ÿ˜„ The ironny is ...

React 18 Alpha is out! Now what?

Sorry but you missed a HUGE part for anyone using frameworks ...

Back to Basic: Should we use Flexbox or Grid?

Your' welcome ๐Ÿ˜Š๐Ÿ‘

Back to Basic: Should we use Flexbox or Grid?

I think a lot of people struggle with grid untill you realize...

Next.js - Your next go to framework

Yeah, sure! We are comparing two great libraries, and they ar...

Next.js - Your next go to framework

Thanks Caleb. I got thinks working. It's not that things are ...

5 most underrated skills of a top developer

Well, you never get to old to learn new stuff ๐Ÿ˜‰ I was super f...

5 most underrated skills of a top developer

What about challenging yourself? Sit down one day and learn t...

Next.js - Your next go to framework

I am currently trying to learn Next.js after some projects in...

Deploy a Next.js App to AWS Amplify

Thanks Ali. Didn't realize you actually work at AWS until now...

What Are The Most Important Things to Keep in Mind When Building a Portfolio Website? โšก

Well, for me I need to build stuff with a bit of creativity t...

Deploy a Next.js App to AWS Amplify

It would be nice with some level of rollback functionality li...

The Importance of Having a Personal Website

Just checked out your website. I like your articles, and the ...

Five tips about React hooks

I am already looking forward to more articles ๐Ÿ‘

Building Components in React: Modals

Nice article! You should probably also trap focus inside the ...

4 Simple Ways to Deploy your small website

I also really like Netlify. Their instant rollback functional...

Five tips about React hooks

Nice article! A lot of articles on React around here are kind...

Master the art of React.useEffect

Great article! Remember that you can also use the hook: useLa...

Writing my first custom react hook - useOutsideClick

I think someone new to React might be intimidated by the name...

Global State in Gatsby, or Having and Eating Your Cake, Too

It's a really nice trick to have the context provider in the ...

Types vs. Interfaces in Typescript

Wow appreciate your feedback. But, I think must of the stuff ...

Top 10 mistakes to avoid when using React

Well, I wasn't trying to offend anyone but I genuinely think ...

Status instead of isLoading boolean?

Ahh, cool. I haven't digged super deeply into the differences...

Types vs. Interfaces in Typescript

As a developer new to Typescript I struggle to see where I wo...

Status instead of isLoading boolean?

That's actually a great point! I haven't used Boolean(..) in ...

Status instead of isLoading boolean?

Nice writeup! I actually use the ternary a lot, but I do not ...

Top 10 mistakes to avoid when using React

You might argue that using Class components could be no. 11. ...

Trivia or Job Interview?

I laughed out loud a couple of times! ๐Ÿ˜‚ How do you honestly c...

Status instead of isLoading boolean?

I think you are actually right!! ๐Ÿ˜ฎ I always thought this was ...

Status instead of isLoading boolean?

Yeah! That is also my approach! I have this habit of writing...

Status instead of isLoading boolean?

It might be great for some situations but more verbose for ot...

I Got a Perfect Lighthouse Score on My First Portfolio Website!

How would you compare the two? Of corse it's a no-brainer if ...

How to Create a Custom useDeviceDetect() React Hook

This was really helpful - thanks! I used to check if navigato...

Why you should remove Google Analytics from your site

Thanks for doing this. The world needs a viable alternative!

โญ๏ธ๐ŸŽ€ JavaScript Visualized: Promises & Async/Await

Thanks a lot for this article! After working with promises ...

loading...