Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

SSR data parameter of layouts #13

Open
kaleidawave opened this issue Oct 13, 2020 · 0 comments
Open

SSR data parameter of layouts #13

kaleidawave opened this issue Oct 13, 2020 · 0 comments
Labels
bug Something isn't working server-side-rendering Server based render methods

Comments

@kaleidawave
Copy link
Owner

Currently a layout component (Denoted with @Layout decorator) can have a state on the frontend. It inherits from Component and its markup is subject to the same templating binding and reactivity that any other component is subject to.

The problem arises around server side rendering pages that use a layout which has data. The component should append its inherited layout parameter to its own parameters.

Issue is around:

// TODO layout data is different to component data. Should be interpreted in same way as client global

There is also a opportunity here to refactor the way client global parameters work in the same way.

@kaleidawave kaleidawave added bug Something isn't working server-side-rendering Server based render methods labels Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working server-side-rendering Server based render methods
Projects
None yet
Development

No branches or pull requests

1 participant