Skip to content

Fix CivicSignal Research blog Live-previews #998

Open
@m453h

Description

@m453h

Describe the bug
Currently live-previews are not working for components that require pre-processing on getServerSideProps. We need to find a proper way to fix this issue. Two proposed solutions are:

  1. Refractor the blockify to make it callable on both client-side and server-side.

  2. Use payload's afterRead hook to handle all the data transformation i.e. move the call of the blockify function in this hook .

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions