---
title: "Discussion on \"Next.js custom asynchronous react hooks for fetching page data based on URL ID params\" | Hashnode"
description: "Discussion on \"Next.js custom asynchronous react hooks for fetching page data based on URL ID params\". If you're building a large Next.js/React app you're going to want to keep your code as DRY(Don't repeat yourself!) as possible. \nThat is where React custom hooks come in. \nConsider the following. \nYou've got a dashboard that has separate pages to all..."
url: "https://hashnode.com/posts/nextjs-custom-asynchronous-react-hooks-for-fetching-page-data-based-on-url-id-params/6064653c574933157db92c56"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Next.js custom asynchronous react hooks for fetching page data based on URL ID params](https://serverlessstartup.hashnode.dev/nextjs-custom-asynchronous-react-hooks-for-fetching-page-data-based-on-url-id-params?utm_source=hashnode&utm_medium=feed)

If you're building a large Next.js/React app you're going to want to keep your code as DRY(Don't repeat yourself!) as possible. That is where React custom hooks come in. Consider the following. You've got a dashboard that has separate pages to all...

Mar 31, 2021 · 2 min read · serverlessstartup.hashnode.dev  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Kyle Kirkby](https://hashnode.com/@agod)

@agod · Cambridge, United Kingdom

  
[View profile](https://hashnode.com/@agod)

I'm a founder / "full-stack" developer. I'm currently building an Image Automation Platform.

I'm a web developer working for Linaro. I'm also the founder of https://www.socialimage.app/ and Image Automation Platform; design image templates and generate images based on the template on the fly. I'm interested in Serverless tech, React, Javascript, Node.js, Astronomy for a start 😅

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
