can i convert my create-react-app to a razzle app
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-appnode_modules\react-images-upload\UploadIcon.svg:1
(function (exports, require, module, __filename, __dirname) {
@jaredpalmer Any update on the blog post for this? :)
@jaredpalmer can you please write a post about migrating CRA to Razzle?
Most helpful comment
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