---
title: "Lars Ejaas (@LarsEjaas) | Hashnode"
description: "Front end developer. Read the latest articles by Lars Ejaas on Hashnode."
url: "https://hashnode.com/@LarsEjaas"
---

@LarsEjaas

# Lars Ejaas

@LarsEjaas · Joined January 2021

Front end developer

[Website](https://larsejaas.com/en/)

## Comments

[Rupert 'fildon' McKay Thanks Rupert. I will give it another go! I have another syntax to use, but yours looks so much more elegant, and I sometimes get edgecases where your pattern would be very helpful. Thanks again for a great article! There is way to little material out there on writing good tests. Best regards Lars](https://hashnode.com/posts/mocking-in-jest-with-typescript-and-react/60e06c0903707d644a50080d/comment/61ed5d8aa12088017fbec05a#reply-61ee6415c99aed184e726692)

Reply · Article · Jan 24, 2022 · [Mocking in Jest with TypeScript and React](https://hashnode.com/posts/mocking-in-jest-with-typescript-and-react/60e06c0903707d644a50080d)

[Hi Rubert Finally got to try this out in a project. I am however struggling with the following error: TypeError: xxxxx.mockImplementation is not a function Have you seen something like this before? Do you need to setup something specifically to handle mocks in jest.setup.ts or jest.config.js?](https://hashnode.com/posts/mocking-in-jest-with-typescript-and-react/60e06c0903707d644a50080d/comment/61ed5d8aa12088017fbec05a)

Comment · Article · Jan 23, 2022 · [Mocking in Jest with TypeScript and React](https://hashnode.com/posts/mocking-in-jest-with-typescript-and-react/60e06c0903707d644a50080d)

[Yeah, I work with a headless CMS at the moment and I love how TypeScript always tells me exactly what data I have to work with within the Components. This really is as easy to work with as autocomplete when you are texting on your phone!](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130/comment/60d66594de92ef110afdd0f7#reply-60d6f079de92ef110afdd7f7)

Reply · Article · Jun 26, 2021 · [Tutorial: Apollo Client with React and TypeScript](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130)

[Yeah, I am working on a project right now! TypeScript and ApolloClient is a great combo. BUT, for projects with large GraphQL queries I would recommend combining them with GraphQL generator. They have something called TypedDocumentNode where you can automatically generate types for all of your queryData. This is really SO great! A highly recommended tool!](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130/comment/60d66594de92ef110afdd0f7)

Comment · Article · Jun 25, 2021 · [Tutorial: Apollo Client with React and TypeScript](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130)

[Lars Behrenberg Well, I am not sure if it is too technical for the average user, but I really would like to know more about the different possibilities with Netlify functions. I am personally working on an integration with sendinblue.com (this is really just an alternative to MailChimp) that makes an auto response when someone has used my contact form. I am not a huge fan of infinite scroll myself (this is my personal opinion only). I think pages build around this principle tend to get a bit difficult to navigate - I usually lose track of the different elements...](https://hashnode.com/posts/how-to-create-a-contact-form-with-recaptcha-hosted-on-netlify/5febbc01017ebb59232da2e3/comment/60030f5f848f4c3b9a0ef4fd#reply-600412cf848f4c3b9a0efeb3)

Reply · Article · Jan 17, 2021 · [How to create a Contact Form with Recaptcha hosted on Netlify](https://hashnode.com/posts/how-to-create-a-contact-form-with-recaptcha-hosted-on-netlify/5febbc01017ebb59232da2e3)

[A small bonus info for anyone also working on their own Gatsby form hosted on Netlify: The form NEEDS to be visible in a HTML document when deployed to netlify - otherwise the form won't be recognized! I ran into this myself. I simply made a small html document with only the form element and placed it in the "static folder and deployed my page again - after this everything worked fine! Please check out this forum post for more info: https://community.netlify.com/t/gatsbyjs-form-not-detected/5583](https://hashnode.com/posts/how-to-create-a-contact-form-with-recaptcha-hosted-on-netlify/5febbc01017ebb59232da2e3/comment/60030f5f848f4c3b9a0ef4fd#reply-600363927b30c23b714a9561)

Reply · Article · Jan 16, 2021 · [How to create a Contact Form with Recaptcha hosted on Netlify](https://hashnode.com/posts/how-to-create-a-contact-form-with-recaptcha-hosted-on-netlify/5febbc01017ebb59232da2e3)

[Really nice guide Lars (beautiful name by the way 😄 )! Wow I wish setting this up was a bit easier, but your guide made it so straightforward - thanks! Now I just need to implement a nice auto-reply for the users sending me an email...](https://hashnode.com/posts/how-to-create-a-contact-form-with-recaptcha-hosted-on-netlify/5febbc01017ebb59232da2e3/comment/60030f5f848f4c3b9a0ef4fd)

Comment · Article · Jan 16, 2021 · [How to create a Contact Form with Recaptcha hosted on Netlify](https://hashnode.com/posts/how-to-create-a-contact-form-with-recaptcha-hosted-on-netlify/5febbc01017ebb59232da2e3)
