csath / csath/babel-plugin-rn-white-label

Not compatible with RN Fast Refresh

Open
#2 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Babel plugin works fine when you build your project.
But if you change assets and it won't do necessary changes when using Fast Refresh.

If you do changes you have to open the metro bundler with cache reset

`yarn start -- --reset-cache`

Contributor guide

No contributing guide indexed for this repository

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 inspecting the Babel plugin's require-statement transformation and reproduce the issue in a React Native project using Fast Refresh. Compare asset changes with and without `yarn start -- --reset-cache`; done means changed assets take effect through Fast Refresh without requiring a Metro cache reset.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.