Calvin Pang
Calvin Pang
I've lost my free download after this bug / issue even after upgrading to 1.4.3. Is there any remedy for that or just wait a month :(
add this to the package.json to override the aws-cdk-lib so that it uses node 20x `"overrides": { "cdk-spa-deploy": { "aws-cdk-lib": "2.34.2" } }`
Actually you don't even need to do this: `const action = yield takeLatest('SOME_ACTION', doSomething);` Remove `const action = ` completely. And just do this: ``` function* doSomething(action){ console.log(action.payload) } ```...
@julienben Thanks for the prompt reply. I do have the following in webpack.base.babel.js: ``` new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify(process.env.NODE_ENV), PIZZA_URL: JSON.stringify(process.env.PIZZA_URL), }, }), ``` NODE_ENV is also defined. I...
@julienben Thanks for your reply. I think you're right, DefinePlugin isn't really an option in this case. As for getting the environment variables to the browser I found this quick...
Just posting an update on this topic. Challenge: Passing environment variables at runtime to the already built react app / docker image to change api urls. Although you can pass...
I have looked at some of thr discussions on possible solution. In fact Dan suggested one way is to put a script tag on index.html so when index.html is run...
Sorry I should be more clear.. Its not the backend thats sending the api urls. Its the node server that the react app is running on. So app.js on react-...
This feature would be very useful.
Just some quick look into the source code, found that you can actually pass inputProps to the component... e.g.