React Native + Expo weirdness
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 197
- Forks
- 51
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 94
Description
Got this feedback from a wizard run. Overall good, but:
AI wizard worked okay to the point when it put a PostHog Provider around my root app code in app/_layout.tsx.
But for some reason it also went into app/index.tsx and altered all the styling code with some invalid syntax -> style={styles.myStyle} became style = [styles.myStyle]
I am actually running Posthog in an Expo + React Native project ("posthog-react-native": "^4.4.1")
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the wizard run in an Expo + React Native project using the reported PostHog setup, then inspect the generated changes in app/_layout.tsx and app/index.tsx. Confirm that the provider is added without changing valid styling syntax, and verify that the generated app remains valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend, mobile, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100