microsoft / microsoft/react-native-windows

Added override for TextSharedExamples.windows.js to avoid nesting of view inside text(not supported in Paper)

Open
#15,125 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Workstream: Releases and Integrations
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

This component is nested directly inside the component (which is React Native's component).

In Windows Paper mode, this structure is not supported - you cannot nest components inside components. This restriction only applies to Windows Paper mode

ref code : https://github.com/facebook/react-native/blob/3cb70bb6add524540d484021b4ad4304f8f0d38d/packages/rn-tester/js/examples/Text/TextSharedExamples.js#L26

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with TextSharedExamples.windows.js and compare it with the referenced TextSharedExamples.js example. Confirm which RNTesterText and View nesting is unsupported in Windows Paper mode, then verify the Windows example avoids that structure without changing supported modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.