Setting up

INTRODUCTION

The davespace remake is going great! It’s a lot further than I was expecting making it from the ground up. So far, the time spent on the remake has been deciding how davespace will work behind the scenes. In this article, I’ll describe React JS and what it’s used for.

REACT

React is a powerful tool for website development, it’s designed to help create fast and clean UIs. It works by adding something called a component, when you make a component you can reuse it elsewhere. For example, I have a Post component in the davespace remake, it’s just the post structure.

  • Username field
  • Profile picture
  • Timestamp
  • Post content
  • Comment button that reveals a comment section
  • Comment section (this is it’s own component)
  • Like button
  • Like counter
  • Delete button (this only shows up if you’re an admin or the user who posted it)

When the component is loaded, you give it information to populate itself with, it then replaces it’s placeholders with the values and comes together.

This is just one of many components that make up the davespace remake.

Conclusion

There’s been good progress so far, I’ve learned a lot about react. There’s also only a few big features left to add, then it’s just polishing. I’m planning on continuing work throughout the summer and release in august! Goodbye.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top