I added an example on how to create a simple click...
# guide
j
I added an example on how to create a simple click counter with React. It uses the new `sst.StaticSite` construct. And the backend is an API with DynamoDB. Check it out! https://serverless-stack.com/examples/how-to-create-a-reactjs-app-with-serverless.html
j
1. @Jay Thanks for the example. If I am deploying a React App to S3 and the app has sensitive config such as STRIPE_KEY, then how do I protect the sensitive config if I am not deploying my React app via Netify.
j
So the Stripe key (like in this chapter https://serverless-stack.com/chapters/add-stripe-keys-to-config.html), is still available on the client side. Even if it is deployed through Netlify. Hope that makes sense.
j
Thanks @Jay