Comments (3)
@wellyshen, Duo to this issue, I wanna change SSR render by new configuration, I will use webpack-hot-server-middleware
to make the Webpack config as an Array, one for client and one for server, then in the production level, we will have server.js
and it is built by my new config. it means for production we will have a fully node commonjs2 application and we won't use ssr.tsx
and ts-node
for production.
If it is acceptable by you, I will send PR, for now, inside my project I'm using this.
from react-cool-starter.
@amerllica We don't have yet. Sorry man, I'm busying for other libraries will back to this starter soon. I plan to build the SSR file when migrating to Webpack v5. Would you mind sharing your solution with me first?
from react-cool-starter.
@wellyshen, I know you're busy, me too, for now I'm very busy with a Silicon Valley project. but still I'm so eager to this starter, I mentioned my idea in the first post of this issue, here. Whenever you have time pull it and you can see in the production level we will have a commonjs2 file not reading from source.
from react-cool-starter.
Related Issues (20)
- Is it possible to have cache for some request from node side? HOT 1
- Cannot find module '~/node_modules/babel-loader/lib/index.js' when run build! HOT 5
- How you deal with react-refresh? HOT 13
- Internationalization BuiltIn (react-i18n-next)
- Release to npm as a template for CRA
- Not loading images on fresh open HOT 1
- Migration to React 18 HOT 1
- Update git ignore file
- Having lighter bundle alongside catching libraries in separated bundle file(s). HOT 7
- What is hook.js and what is its benefits? HOT 15
- Page Getting Refresh When I Navigate from Home to User (Router Issue) HOT 2
- Is it possible to have more readable package.json file? HOT 10
- how to deploy node js application using pm2 config HOT 2
- Having faster development area for babel. HOT 2
- Client side loading doesn't work HOT 2
- Error: pngquant failed to build, make sure that libpng-dev is installed HOT 1
- css lib is not working - semantic ui HOT 3
- React-refresh throws error when use .js extension for page component HOT 1
- Cannot load images with more than 10Kb HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-cool-starter.