Tag Archives: TypeScriptExpress

[TypeScript][Express] Try React 2 – React Dev Feed

[TypeScript][Express] Try React 2 Intro This time, I will try get and upload data to the Express application. Environments Node.js ver.16.6.1 create-react-app ver.4.0.3 React ver.17.0.2 react-router-dom ver.5.2.0 TypeScript ver.4.3.5 ESLint ver.7.30.0 Load data on page loading I can use “useEffect” for loading data on page loading. [Server] bookService.ts import { autoInjectable } from “tsyringe”; import…

Read More

[TypeScript][Express] Try React – React Dev Feed

[TypeScript][Express] Try React Intro This time, I will tye React to get and show book data from the Express application. Environments Node.js ver.16.5.0 create-react-app ver.4.0.3 React ver.17.0.2 react-router-dom ver.5.2.0 TypeScript ver.4.3.5 ESLint ver.7.30.0 According to the tutorials, I created a React project by create-react-app. npx create-react-app bookstore-sample-client –template typescript Enter fullscreen mode Exit fullscreen mode…

Read More