Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CivicSignal Research blog Live-previews #998

Open
m453h opened this issue Nov 14, 2024 · 0 comments
Open

Fix CivicSignal Research blog Live-previews #998

m453h opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@m453h
Copy link
Contributor

m453h commented Nov 14, 2024

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 .

@m453h m453h added this to COMMONS Nov 14, 2024
@m453h m453h added bug Something isn't working enhancement New feature or request labels Nov 14, 2024
@m453h m453h self-assigned this Dec 13, 2024
@m453h m453h moved this to 🆕 Icebox in COMMONS Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: 🆕 Icebox
Development

No branches or pull requests

1 participant