red-gold / react-social-network

Simple React Social Network
https://medium.com/@qolzam/create-social-network-by-react-js-fe60010a32e6
MIT License
490 stars 484 forks source link

Is follow user feature working? #131

Closed bayareabear closed 4 years ago

bayareabear commented 4 years ago

When I click "FOLLOW" in the FindPeople component, I see error:

TypeError: Cannot read property '0' of undefined UserBoxComponent._this.onFollowUser src/components/userBox/UserBoxComponent.tsx:182 179 | } 180 | if (!isFollowed) { 181 | debugger

182 | followUser!(followingCircle![0], { avatar, userId, fullName }) 183 | } else { 184 | this.onRequestOpenAddCircle() 185 | }

Also it would be good to add some documentation on what is UserTie and Circle; And what is the difference between FollowingComponent and YourCirclesComponent?

Thank you!

Qolzam commented 4 years ago

Hi @bayareabear , I appreciate your bug report and recommendation 🙂. However as I already wrote in README file on the repository ... image I am working on a Telar Social UI (new version) which fixed these issues. But this version is written in Golang and working on Kubernetes which is for the projects in huge scale in production.

Here is the good news 🤩. I am working on TypeScript/JavaScript platform of Telar Social which supports more platforms (not only Kubernetes) like Firebase, Vercel and Netlify. Also in new version we have Next.js version of UI which supports features like SSR and PWA.

You can follow the project on Slack or my twitter to get notification about project release 🛎.