Ask HN: Rewriting parts of website in react, thoughts and best practices?
We have a fairly complex dashboard written with PHP, HTML and JQuery but we are considering rewriting parts that are slow/needs updated with react.
I was wondering if anyone has past experience and what is the best way to go about this?
Is react the best way to go?
3 comments
[ 3.3 ms ] story [ 20.8 ms ] threadThere are many ways to write react. Take a solid boilerplate like react-boilerplate. Then bolt a good dashboard template on it. Get rid of crazy stuff (redux etc) Use Material. Write simple Functional components using hooks and tie everything together.
When you are rewriting, let go some stuff that you don't need.
Source: we are in the middle of what you want to do.