简体   繁体   中英

React 16 - Meteor SSR

OK, I'm building a meteor app with React 16 and I need to serve server-side CSV files. I was using Picker for React 15 but for some reason React 16 just keeps redirecting to a hashbang of the route I'm trying to redirect to.

http://localhost:3000/csv/:some_id

redirects to:

http://localhost:3000/csv/:some_id#/

Any help would appreciated

Problem solved. Found a new library that works with React 16 / react-router-dom https://mhagmajer.github.io/server-router/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM