CODEX

What you can do after reading this article

Basic set up reference

  1. Add a translation feature to your Next.js App Part 1: Set up the next-i18next package
  2. Add a Translation Feature to Your Next.JS App Part 2: Manually Switch Languages


Add the Button

npm install @material-ui/icons @material-ui/core


  1. Set up the translation feature with next-i18next






What I usually do in a React app


Counterpart to componentdidmount

Example

const homepage = () => {
let restaurants = fetchData()
return(…


Install and configure

Yingqi Chen

Web Developer | Ruby | Rails | SQL | Sinatra | React | Redux | HTML&CSS | JavaScript| MERN LinkedIn:https://www.linkedin.com/in/yingqi-chen/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store