This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello guys.
I started learning React few months ago. I do it during my personal time and I have stop few times then catch up again. Anyway, the first time I did my website I used React Router because it was the first thing it popped on google. I used it to route the links to another component. I did not used clean urls or things like that. I was just starting so I had no idea what was the best.
Anyway, I saw a post about Next JS in this sub reddit and decided to dig in to it. I did learn basic of Next Js with Express Js and I liked it. However, I am in a point of not knowing what is the best for my problem and I think I can't understand the difference. My problem is that i have 404 errors and my back arrow in the browser doesn't work. I do understand if I dig more in to react-router I will be able to fix this. But what is the best solution?
I know and understand that Next JS is SSR and React-Router is not SSR but can implement SSR,.
One thing I read in the basics of Next JS is that it recommends using <style jsx> over CSS files. One thing I like the CSS files is because is so much clean, clear modularity and read-able. What you guys think about that?
I hope you guys can help me out to understand a little bit more. Thank you.
EDIT: I found out about next-css module, but what you guys think?
Post Details
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/reactjs/com...