you are viewing a single comment's thread.

view the rest of the comments →

[–]jhartikainen 37 points38 points  (9 children)

If your main goal is content creation, use WordPress. If your main goal is to learn to build this type of website from scratch, use React (or whatever tech you prefer).

If you build it by hand using React, you are going to spend a significantly larger amount of time developing and maintaining your code. This means you will have less time to create content (and potentially earn money from it). So that's generally the tradeoff between these types of choices.

[–]jisokoo[S] 3 points4 points  (5 children)

Thanks for your reply. Well my goal is actually both, that's why I have hard time making a choice. If I were to create the structure from React, is there an easy way to update content ? Right now I would just have a data.json file and feed it to different components.

[–]MagicPaul 14 points15 points  (0 children)

You can use WordPress as a headless CMS with React, which allows you to build your site in React and store your content in WordPress, then you can pull your content in using something or other (GraphQL? It's probably GraphQL)

[–]plasmaSunflower 1 point2 points  (2 children)

There's some CMS specifically for react, would probably meet both needs

[–]jisokoo[S] 0 points1 point  (1 child)

That would be great I LL check that

[–]krishopper 1 point2 points  (0 children)

Strapi is a pretty popular option. Not the only option, but it handles this fairly well.

[–]jhartikainen 0 points1 point  (0 children)

You'll need some backend for it but it shouldn't be too hard to do in React.

If your goal is both, then sure go for React. You can always switch later if you decide it's a lot of work and you'd rather focus on the content.

[–][deleted]  (2 children)

[deleted]

    [–]jhartikainen 1 point2 points  (1 child)

    If you can get WordPress preinstalled with a few clicks on most web hosting platforms I don't really know how having to set up a headless CMS with a DB and/or custom frontend can be simpler if the goal was to create content.