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

React Native instrumentation package #241

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

eskirk
Copy link
Collaborator

@eskirk eskirk commented Aug 8, 2023

For August 2023 Hackathon

@@ -45,9 +47,9 @@ export const isPrimitive = ((value) => !isObject(value) && !isFunction(value)) a
string | number | bigint | boolean | symbol
>;

export const isEventDefined = !isUndefined(Event);
export const isEventDefined = !isUndefined(globalObject?.Event);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Couldn't get a polyfill of Event to work, so instead just adding some error protection. Otherwise in the React Native environment you would get a "ReferenceError.... Cannot find variable: Event"

@lucasbento
Copy link

@eskirk hello 👋 what's else is this PR missing besides this? is there any way I can help you get it across the finish line?

@eskirk
Copy link
Collaborator Author

eskirk commented Dec 9, 2024

@eskirk hello 👋 what's else is this PR missing besides this? is there any way I can help you get it across the finish line?

in order for us to be able to merge this we would need

  1. the PR to get rebased and conflicts resolved
  2. that polyfill feature to get finished, as well as
  3. a decent set of tests

once we have those in, the team could do some reviews on the changes and potentially add this as an experimental feature.

if you were able to do some work on this I would be happy to do some reviews. I just unfortunately do not have the time to finish up this PR.

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