Skip to content

Conversation

Szymon20000
Copy link

Summary:

Changelog:

Test Plan:

Copy link

@hannojg hannojg left a comment

Choose a reason for hiding this comment

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

LGTM, just some minor NITs (don't have to be addressed if you don't feel like it)

Comment on lines +30 to +31
void ComponentDescriptorRegistry::addMultipleAsync(
std::vector<ComponentDescriptorProvider> providers) const {
Copy link

Choose a reason for hiding this comment

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

NIT: do we want to make this a rvalue reference && to make obvious that the function wants to take ownvership?

#include <react/renderer/core/ComponentDescriptor.h>
#include <react/renderer/core/InstanceHandle.h>
#include <react/utils/ContextContainer.h>
#include <thread>
Copy link

Choose a reason for hiding this comment

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

NIT: as we only need that in the implementaton lets move it to the cpp file to keep the header clean?

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