Open egaleme opened 5 years ago
well the bulk of the application should just be copy paste ... You might have to refactor some stuff like state manager (redux, mobx) to initiate differently in server and client. But the main internals should be just copy/paste.
If you are using LocalStorage to handle auth tokens, I would recommend refactoring it to use cookies as LocalStorage doesn't work with SSR.
I should write a post on this. It’s fairly straight forward. although we do need to catch up to some of the newest CRA features like .gql and compiling node_modules
@jaredpalmer I have a PR (#841) in relation to .gql
files open.
Thanks for your reply. i have serious headache using nextjs. Most of the libraries i used in my create react app just kept throwing errors with nextjs.
hi, i'm having issues of syntax error trying to use this package react-images-upload with razzlejs.
please i'm having this error when using react-images-upload with razzle. what do i do?
C:\Projects\razzlejs-projects\test-app\node_modules\react-images-upload\UploadIcon.svg:1 (function (exports, require, module, filename, dirname) {
SyntaxError: Unexpected token < at new Script (vm.js:79:7) at createScript (vm.js:251:10) at Object.runInThisContext (vm.js:303:10) at Module._compile (internal/modules/cjs/loader.js:657:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18)
@jaredpalmer Any update on the blog post for this? :)
@jaredpalmer can you please write a post about migrating CRA to Razzle?
I should write a post on this. It’s fairly straight forward. although we do need to catch up to some of the newest CRA features like .gql and compiling node_modules
Sir, any update about the migration guide?
Can I just add razzle in my create-react-app repo? I don't wanna migrate or change something. If yes Can you suggest some repo which has already done it.
can i convert my create-react-app to a razzle app