wobble_front_end's People
wobble_front_end's Issues
Break down components even further
This would be a great opportunity to have an individual comment component render. It can feel laborious to create so many components, but it really cleans up your code. In any framework, it's good practice to modularize your code and break it down into smaller, simpler (and even reusable in future projects) pieces.
Need a corresponding post request in your back end
I don't see a post method to handle this axios request in your back end. There is a method to handle put requests at 'api/comments/:id' (though I don't see front-end functionality to edit comments?).
In order to add new comments, you'll want to add functionality to your back end to handle a post request to 'api/comments' and add the new input to the database. In a post request, you do not need an id in the path because you are creating a new document in the database that will be given an id (but doesn't yet have one because it doesn't yet exist in the DB!).
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.