reactend / reactend-express

React renderer to build Node.js server
https://reactend.herokuapp.com/
399 stars 18 forks source link

Polka / tinyhttp integration #5

Closed talentlessguy closed 3 years ago

talentlessguy commented 3 years ago

Would be cool to be able to have examples of using react-xpress with other Express like frameworks (if it's possible)

also it'd be better if express would be a peer dep so it's easier to alias modules (like when you replace React with Preact in a Next.js app)

gigantz commented 3 years ago

Yeah, I'll do some change to use it in a better way (peer deps and etc.) and it needs to be npm package It's a good idea about integrate express-like frameworks, I have an experience with koa and nestjs. So, I'll need to read polka/tinyhttp docs :)

talentlessguy commented 3 years ago

@gigantz Polka is basically Express without req / res extensions, tinyhttp is Express remake w/ different app settings but with all extensions

so should be easy to integrate them (theoretically)

talentlessguy commented 3 years ago

why has this been closed?