DEV Community

Discussion on: Starting my React journey

Collapse
robertoosantos profile image
Roberto de Oliveira Santos

I wish you success in your journey. I've started mine about 2 years ago and it totally worth it. Of course I've learned some things by pain so I'd recommend you:

  1. Have a clear definition of you need server side or pre rendering in your app for social sharing or SEO or something like that. If you start with the wrong toolset you will struggle to adjust it later.

  2. If you're planning to use MERN stack learn about Mongo and it's NO SQL implementation. Have some kind of migration strategy from the beginning. It's really painful to change some schemas without it.

  3. Embrace JSX, do not abuse on Redux, mind your bundle size don't take others opinions too hard.

Collapse
vasanth9 profile image
vasanthkumar Author

Yes, I will remember not to abuse Redux

Collapse
vasanth9 profile image
vasanthkumar Author

Could you please explain the point 1. A little bit confused.

Collapse
robertoosantos profile image
Roberto de Oliveira Santos

React is client side rendered. It means that when a robot like Google Search or Facebook Share access your page to get it's html, they will receive only the JS code.

In order the deal with Search Engine optimization or Sharing on social media with proper title, description and image, you'll have to server side render.

Thread Thread
vasanth9 profile image
vasanthkumar Author

Thank you