Is It Worth Switching to React for My Social Media Platform?
Asked by
INDEX.of.topics
I'm in the process of building a social media platform using Django along with HTML, CSS, and a bit of vanilla JavaScript and jQuery. However, I've been considering switching everything over to React since it might be better suited for the interactivity required on a social media site, like handling posts, comments, likes, and real-time updates with websockets. Do you think transitioning to React is a good idea?
Answers
If you're more comfortable with vanilla JS, you might also want to look into [this](https://github.com/fusorjs/dom) project. It might offer some useful insights as you think about the transition.
Reply to this answer
I was in your shoes too, starting with backend work and then moving to React for frontend functionality. Once you get the hang of it, it can be really enjoyable to work with! Donโt forget to also check out Vue and Angular; Vue has a really nice feel to it. Tailwind CSS can also help streamline your styles.
Reply to this answer
Switching to React could be a solid move, especially since your platform requires a lot of interactivity. Just keep in mind that you still need to use HTML in your JSX, so itโs not a complete replacement. But if youโre looking to enhance user interactions, React or frameworks like Next.js can be super helpful. Just be prepared for a bit of a learning curve!
harvest_moon_map: Thanks for the advice! And yep, that 'htnl' in my post was just a typo.
pH6p2.slurry: I agree! React has some great built-in modules for social sharing. I recently spent weeks transitioning my site to Next.js, and while it was tough, the improvement in performance was totally worth it.
Reply to this answer
I'm a big fan of React and use it all the time. Itโs great if you know it well, but if you're open to exploring, take a look at Solid.js or Svelte as well. They might surprise you!
Reply to this answer
Add your answer
Answers are reviewed before publication.
INDEX.of.topics: Thanks for the link!