Purpose of this template: I start researching how to build mentions feature in comments section, and learn react-mentions library. This is the simple template to start using mentions feature in a comment input box.
- Clone the repository
git clone https://github.com/yanliu1111/react-mentions-template.git
- Install the dependencies
npm install
- Run the template
npm start
ps: When I create react app, before running npm run start, I changed the script in package.json
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build",
...
}