Sign in
Log inSign up
Tips for building first React app (moderately complex)?

Tips for building first React app (moderately complex)?

Deactivated User's photo
Deactivated User
·Apr 11, 2016

Hello,

I am looking to write a t-shirt customization widget as my first React project. It's not going to be a full page app, it's going to a widget inside an existing website.

We currently have a customization widget written in jQuery, but it's completely unmaintainable and inextensible (the .js file alone is 3000 lines long).

So my questions would be:

  • Is React a good choice for this problem?
  • What do I need to learn first?
  • What kind of tools/packages would you recommend for this? I'm looking at react-dnd and react-dropzone. One is for dragging the logo images (on the shirt), other other one is for uploading them.
  • Do I need to use Redux/Flux (don't know the difference)?
  • Is there some way to manage the app state/logic conveniently? Most likely I'm going to be sending some jQuery Ajax requests to the back-end.
  • Would you recommend using ES6? I'm more comfortable with ES5 atm.
  • What's a simple way to test some components?
  • What else would you recommend?
Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct