8
tahnik
9y

If I learn React, Redux, Mongo, Express and Node, will I be able to build a full web application?

Comments
  • 4
    So long as you have the basics of html, css, JavaScript and it would greatly help to understand sass, and a build tool like webpack, absolutely.
  • 2
    Redux isn't a strict necessity but it does help manage your react apps state. React-redux is a great module. I would also recommend immutable as it ensures your states actually register as changing and not just mutating.
  • 3
    I just finished an app using that stack (with a few additional libraries to help with the build) and it turned out really well. When new features are asked for, it grew predictably without any "hacks" to fit it into how I had done it. React/redux is my favorite front-end combo
  • 2
    Keep your components lean and focused and it will be very manageable.
  • 1
    @tytho I just launched 1 last week and it has been wonderful to know that each component is predictable. Also, having a libraries bundle and an app bundle makes it incredibly easy to deploy changes. Did you use webpack?
  • 1
    @avstuff @tytho thank you guys.

    Yes I am using webpack. It's just that it's taking a while to get my head around it. Because you guys know it already, what is the difference between Redux middleware and Express middleware?

    Also, when I build a website with this stack, does that mean that every single page in my current website will become a component? So clicking in the navbar links will just change the component over time?

    thank you so much for your help
  • 1
    @tahnik express middleware is used on the backend. Express middleware is used to parse the http request and modify the http response. Redux middleware is used to change the way that redux actions take place.

    It's a good stack if you have good experience with it all, but you might want to take things one bit at a time. Learning everything at once can be frustrating if you don't feel like you have a lot of control. I taught a class that went through this stack if you'd like to follow the tutorials. It's starts you out pretty basic and slowly builds up to the full stack, introducing small pieces at a time. Keep in mind it also had in class discussions partnering this, but feel free to open up any issues on github and I'll be happy to answer them.

    https://github.com/dgm-ria-spring-2...
  • 0
    @avstuff Yes, webpack is the best once I got past the initial config hurdles.
  • 0
    @tytho I still have trouble writing sass with background images in it and getting webpack to work. I wish it would ignore the url paths instead of trying to base64 the images and storing them in the bundle.
  • 1
    @tytho Great thank you 😃 I'll check out your tutorial
  • 0
    why mongo?
  • 0
    node is all you need.. my friend 😉
  • 0
    node with express is only neccesary. i don't like react and redux
  • 0
    @dpmacneil it's easy. As it scales, I might consider migrating to PostgreSQL
  • 0
    @Tytho I would just go with Postgres if I were you! Mongo has a lot of glaring issues that aren't being solved
  • 0
    @dpmacneil there's just a lot of overhead in dealing with PostgreSQL that you don't have to deal with upfront with Mongo. I agree that PostgreSQL is probably the best choice when looking for a scalable, production-level database. Mongo is not built for relational data, and 90+% of application data is probably going to be relational in some way. Mongo was just the easiest to teach my students because the schema could be versioned in the code instead of in the database, which doesn't exist in source control (unless you use an ORM like sequelize or bookshelf).
  • 2
    @EinsameNudel Hey! I was wondering this as well. Is react really a necessity in a website? I mean express is more than enough for a blog type website right? I understand that for app style website react is a necessity.
  • 1
    @tytho I am following your tutorial and it's great. Did you use es6 a little bit here and there?
  • 0
    @tahnik yes, pretty exclusively I think if I remember right
  • 2
    If you want to kick the tires, try this guy! http://megaboilerplate.com
  • 2
    @bleestein OMG WHAT IS THIS thank you so much :)))))
  • 1
    @bleestein

    This is awesome man

    Thanks 👍
Add Comment