treetips / typescript-nextjs-redux-toolkit-material-ui-example

TypeScript v3.8, Next.js v9, Redux Toolkit, Material-UI v4, react-hooks, SSR live demo

Home Page:https://typescript-nextjs-redux-toolkit-material-ui-example.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typescript-nextjs-redux-toolkit-material-ui-example

This is a sample for server-side rendering using TypeScript , Next.js , Redux Toolkit , and Material-UI .

I also used the latest features such as createSlice , createAsyncThunk , and createEntityAdapter .

VSCode , prettier and ESLint provide real-time formatting, syntax checking and organizing of unused imports.

これは、 TypeScript , Next.js , Redux Toolkit , Material-UI を使った サーバーサイドレンダリング に対応したサンプルです。

createSlicecreateAsyncThunkcreateEntityAdapter といった最新機能も使ってみました。

VSCodeprettierESLint によって、リアルタイムに整形と構文チェックと未使用 import の整理が行われます。

Live demo

live demo

Features

Requirement

Install Google Chrome addon

Recommended VSCode addons

Usage

Download and install

git clone https://github.com/treetips/typescript-nextjs-redux-toolkit-material-ui-example.git
cd typescript-nextjs-redux-toolkit-material-ui-example
npm i

Start local

npm run dev

Build and start production express server

npm run build
npm start

Related repository

About

TypeScript v3.8, Next.js v9, Redux Toolkit, Material-UI v4, react-hooks, SSR live demo

https://typescript-nextjs-redux-toolkit-material-ui-example.now.sh/


Languages

Language:TypeScript 95.9%Language:JavaScript 3.7%Language:CSS 0.4%