microsoft / microsoft/fluentui-react-native

JS view configs no longer included in build output

Open
#3,958 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
179
Avg merge
16h 17m
Merged PRs (30d)
30

Description

As of https://github.com/microsoft/fluentui-react-native/pull/3948 the codegen task is no longer run, which would replace the built output with the babel output of the codegen babel config to generate the JS view config.

Without this, all the Native** components that use codegenNativeComponent are not including the generated view configs.

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 by reviewing PR 3948 and the repository's codegen task and Babel configuration. Trace the build path for components using codegenNativeComponent and compare it with the expected generated output. Done means the Native** components include their generated JavaScript view configs in the build output and the relevant build or codegen checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.