Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Client side events after lambda render #1

Open
niom opened this issue Aug 16, 2018 · 0 comments
Open

Client side events after lambda render #1

niom opened this issue Aug 16, 2018 · 0 comments

Comments

@niom
Copy link

niom commented Aug 16, 2018

I've played with nuxt and lambda and found an interesting side effect that client side events wont work after page has been rendered with lambda.

https://github.com/niom/serverless-side-nuxtjs-example/tree/feature/ui-events

I extended you example just a little bit to include some client side events that can be triggered by using buttons.

  1. Alert
  2. Incremental counter

So what makes this really interesting is that when using serverless offline to simulate the AWS lambda the client side events are working like a charm but after deploying the code to AWS and fetching the page through lambda the client side events stop working.

Is this something to do with lambda doing the rendering or am I missing something from the lambda configuration?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant