yanliu1111 / react-mentions-template

πŸ“‘@ react-mentions-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Mentions Template

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.

To run the template

  1. Clone the repository
git clone https://github.com/yanliu1111/react-mentions-template.git
  1. Install the dependencies
npm install
  1. 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",
    ...
}

Demo

demo.mp4

About

πŸ“‘@ react-mentions-template


Languages

Language:JavaScript 62.6%Language:HTML 37.4%