Questions tagged [razzle]

38 questions
0
votes
0 answers

Server side store does not update after a dispatch

I have a server side rendering react app made with razzle in typescript. This is what I want to achieve. I want the server to get authenticated data before rendering any page in my app, dispatch it to the store and then insert it on the rendered…
user12643589
0
votes
0 answers

How to migrate react application on server side

I am currently having a client side react application, which is using redux and saga patterns but does not have security implemented. Also there is a server side nodejs application, which has security implemented. So i want my application to migrate…
Vivek Goel
  • 762
  • 2
  • 10
  • 21
0
votes
1 answer

How can I configure Razzle.js to serve the app assets from several CDNs?

Browsers usually restrict the maximum amount of parallel loads from a given subdomain. Therefore, I want to spread asset loading across 4 CDNs: https://cdn0.domain.ltd https://cdn1.domain.ltd https://cdn2.domain.ltd https://cdn3.domain.ltd Using…
Joan Mira
  • 279
  • 1
  • 4
  • 9
0
votes
2 answers

How to use the key attribute do in an img tag?

I have this code to make an array of images to display on the screen. However, I don't know what the key attribute in the images array means. Ideally I want to change the src of the image whenever one of the images is clicked. If I add in an id or…
andrewJ
  • 111
  • 2
  • 11
0
votes
1 answer

Razzle, IE11 and HappiJS bundling

I've got a server-side rendered react app which uses Razzle. I'm importing @hapi/joi since that's what I want to use for my validation both server and client side. IE11 and Edge 18 are supported browsers for my app and I've got to be able to run my…
0
votes
1 answer

Google App Engine - Razzle isomorphic react app - serve issues with no client bundles or assets

I haven't been able to take the default bare-skin razzle-app (https://github.com/jaredpalmer/razzle) and make it work when I deploy it to Google App Engine. If anyone has experience deploying isomorphic react apps to GAE, then any inputs would be…
anz
  • 987
  • 7
  • 21
0
votes
1 answer

razzle SSR rendering react, doesn't run from initial installation instructions

running the basic install for razzle, I get the error "Cannot GET /", this is what I did: https://github.com/jaredpalmer/razzle npx create-razzle-app my-app cd my-app npm start
marcsqna09
  • 117
  • 1
  • 2
  • 9
0
votes
1 answer

Trying to import/convert a CRA app into Razzle JS

I'm new to Razzle and I'm trying to learn it. I took a Material-UI dashboard app and am trying to "import" or "convert" it into my blank-ish razzle app. I copied the contents of the CRA app's ./src into my razzle source at the right spot,…
Sir Robert
  • 4,686
  • 7
  • 41
  • 57
1 2
3