You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It raised an eyebrow to see a dependency on react-router-dom in the server/handlerRender.js file, since it's a client library being utilized on the server.
Also - reading what I wrote I see the MJ example is for a different library, but I still have the question of whether its best practice to use matchPath on the server in that way.
Also FYI Im really glad you put this repo together and there are a few tweaks I'll be sending you in a PR of my thanks - let me know if you want me to do anything on this match-path thing!
It raised an eyebrow to see a dependency on react-router-dom in the
server/handlerRender.js
file, since it's a client library being utilized on the server.From Michael Jackson's guide you referenced: https://reacttraining.com/react-router/web/guides/server-rendering, there's a
/server
folder which might be more appropriate. As a code reviewer I'd be less concerned about the latter than the former..The text was updated successfully, but these errors were encountered: