Open in app

Sign in

Write

Sign in

Alex.Muriuki
Alex.Muriuki

3 Followers

Home

About

Apr 7, 2022

An introduction to useSWR for remote data fetching

Here is simple step by step tutorial that gets you started with the useSWR hook. An alternative to useSWR would be using the useEffect hook to fetch data for your react applications. So what does useSWR bring to the table that makes it a very popular remote data fetching tool? …

6 min read

An introduction to useSWR for remote data fetching
An introduction to useSWR for remote data fetching

6 min read


Jan 25, 2022

An introduction to writing tests using Cypress

Cypress is a testing framework for web applications that makes writing tests for frontend web applications seamless, faster and reliable. Cypress is used by developers and quality analysts to write all types of tests ie. e2e tests, unit tests and integration tests. This tutorial will cover the basics of writing…

9 min read

An introduction to writing tests using Cypress
An introduction to writing tests using Cypress

9 min read


Jan 24, 2022

An introduction to testing react applications using @testing-library/react by creating a simple todo application

Testing applications is really important before shipping applications to your end-users since it confirms that everything is working correctly before deployment happens. It also gives confidence that your users get correct outcomes when using your application. Nobody wants frustrated users anyway,

9 min read

An introduction to testing react applications using @testing-library/react by creating a simple…
An introduction to testing react applications using @testing-library/react by creating a simple…

9 min read


Jan 8, 2022

Super friendly introduction to classnames in React

If you have been writing ReactJS applications, you might have stumbled upon the classnames npm package from the classnames npm package. Here is a beginner friendly intro to classnames. So, why do we use classnames? Because they help us to conditionally show content based on state. In this tutorial we…

4 min read

Super friendly introduction to classnames in React
Super friendly introduction to classnames in React

4 min read


Jan 4, 2022

How to use curl for HTTP request types

Curl basics What is curl: curl is command-line tool to transfer data to and from the server GET request using curl $curl http://localhost:3000/api curl is the command to use the curl tool http://localhost:3000/api is the route from which we want to get data The default curl http request is GET so we…

4 min read

How to use curl for HTTP request types
How to use curl for HTTP request types

4 min read

Alex.Muriuki

Alex.Muriuki

3 Followers

Am a software engineer based in Nairobi, Kenya. Here is where I document my learning.

Following
  • Joe Procopio

    Joe Procopio

  • Siro Devs

    Siro Devs

  • Andisi Ambuku

    Andisi Ambuku

  • Emmanuel Ireri

    Emmanuel Ireri

  • Nehemiah Limo Cheburet

    Nehemiah Limo Cheburet

See all (10)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams