You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Refractor the blockify to make it callable on both client-side and server-side.
Use payload's afterRead hook to handle all the data transformation i.e. move the call of the blockify function in this hook .
The text was updated successfully, but these errors were encountered:
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:Refractor the blockify to make it callable on both client-side and server-side.
Use payload's afterRead hook to handle all the data transformation i.e. move the call of the blockify function in this hook .
The text was updated successfully, but these errors were encountered: