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

RFC: Remove special layouts from v2 #2

Merged
merged 7 commits into from
May 4, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
They can accept variables (though little used it seems)
  • Loading branch information
KyleAMathews committed Apr 6, 2018
commit f79f111ef216af575c7cb040705a4cd13c02fc3d
3 changes: 1 addition & 2 deletions text/0000-remove-special-layout-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ would need to accept variables e.g. the id of the markdown file that's being
shown on that page.

When we added the layout component, we reused the same graphql syntax and
pattern as they too needed to include queries — though they don't accept
variables like page queries do.
pattern as they too needed to include queries.

For static queries in v2 layout components, I propose the following pattern:

Expand Down