xNS5 / rentalreviews

A simple web applicaiton for displaying reviews of local property management companies and apartment complexes
GNU General Public License v3.0
0 stars 0 forks source link

Switch from nextjs to...something else #7

Closed xNS5 closed 2 months ago

xNS5 commented 2 months ago

I think the introduction of typescript to this project is a good idea, however Next is proving to be an interesting challenge. I'm going to do some research into which other react framework to use -- luckily I haven't dug myself too deep. It's hard to try and build something when the documentation and examples aren't clear. Also, for some reason Next wigs out when calling a function with use... in it. Hopefully create react app or vite are better in this regard.

The issue I was struggling with was the navbar re-rendering every time. It could have been that I was using nextui for components instead of...other components/HTML elements.

xNS5 commented 2 months ago

I think it would be a good idea to stick with Next for the time being. I redid the navbar and now it's not looking like it re-renders on every route change (despite it doing so), and I'm fine with where it's at for now.