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

[CB-INTERNAL] move nested renderer to promises #1273

Merged
merged 5 commits into from
Nov 16, 2021

Conversation

ricardo-devis-agullo
Copy link
Collaborator

Transforming nested-renderer to promises. When exported in get-component they will be universalified, because they are exported on the ocs, so to not break we need to keep supporting callback cased calls

@ricardo-devis-agullo ricardo-devis-agullo changed the title move nested renderer to promises [CB-INTERNAL] move nested renderer to promises Nov 2, 2021
}
};
export default function nestedRenderer(
rendererCb: (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about rendererWithCallback?

{}
)
.then(res => {
console.log('RES:', res);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's clean up those

@ricardo-devis-agullo ricardo-devis-agullo merged commit 2cde37d into callback-to-promises Nov 16, 2021
@ricardo-devis-agullo ricardo-devis-agullo deleted the nested-renderer-to-promise branch November 16, 2021 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants