Open in app

Sign In

Write

Sign In

BleatinGoat
BleatinGoat

5 Followers

Home

About

Oct 30, 2021

Quick Guide to Next.js with TypeScript — Part 2

In part 1 we covered setting up newNext.js app with TypeScript with a basicNext.js page and a component. In part 2, we are going to render some data on page Next.js is known for it’s ability to bring server-side-rendering to your app with almost zero effort. We are going to…

Nextjs

2 min read

Quick Guide to Next.js with TypeScript — Part 2
Quick Guide to Next.js with TypeScript — Part 2
Nextjs

2 min read


Oct 29, 2021

Quick Guide to Next.js with TypeScript — Part 1

Purpose of this multi-post guide is to get you started with TypeScriptin Next.js with as less manoeuvring through documentation as possible. In part 1, we are going to 1. Bootstrap our new Next.jsproject. 2. Configure TypeScript 3. Build a basic strictly typed view and a component Time to spin-up a…

Typescript

2 min read

Quick Guide to Next.js with TypeScript — Part 1
Quick Guide to Next.js with TypeScript — Part 1
Typescript

2 min read


Oct 17, 2021

Use wouter to detect query param changes

Recently we had a requirement where we needed to synchronise UI state with url changes/updates. To be specific, we wanted to render section by passing it via query params http://localhost:3000?section=categories // Renders categories component http://localhost:3000?section=detail?name=jack // Renders detail component and name parameter has a value, 'jack'. It is important to mention at this point that we were using wouter for routing for our preact SPA and redux for state management. Looking at out current tech preference, it was obvious we would consider connected-react-router and we did but not without taking one last look at wouterhooks based api.

Preact

1 min read

Use wouter to detect query param changes
Use wouter to detect query param changes
Preact

1 min read

BleatinGoat

BleatinGoat

5 Followers

TypeScript, GraphQL, React, Next.js

Following
  • Andrew Bestbier

    Andrew Bestbier

  • Tarantool

    Tarantool

  • Didier FRANC

    Didier FRANC

  • James Hegedus

    James Hegedus

  • Com'hu'nicate

    Com'hu'nicate

See all (27)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech