I'm learning the MERN stack but have had some issues understanding how react and express fit together within it, so from my understanding react deals with all the client side rendering and routing whilst express deals with backend server side of things, however I've been advised that one would generally use one or the other for rendering as combining them nullifies the point of react (pages become static). So this leaves express acting as a form of api, responding to db queries and user authentication requests. How does one use them both in conjunction in the MERN stack?
via hyper0009
No comments:
Post a Comment