microsoft / microsoft/react-native-windows
Add Support for Metro http Scheme on Windows
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Proposal: Add Support for Metro http Scheme on Windows
Summary
Creating proposal to add Windows support for metro scheme of type 'http'.
Motivation
From https://github.com/facebook/react-native/commit/f085e09be5a148065d286ba3950324dc9e44b7f6, core now offers the ability to pass the scheme field throughout the metro connection pipeline. In this commit, the default scheme was also changed to http (a scheme that currently isn't supported on Windows). Creating proposal to add support here, so we don't have future breaks in Fast Refresh behavior when HMRClient instances are created without specifying scheme as 'ws'.
Contributor guide
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
The issue points to the Metro connection pipeline and HMRClient scheme handling; start by tracing how the referenced scheme field reaches Windows. Exercise Fast Refresh with the default http scheme and confirm Metro connections work on Windows without explicitly using ws.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100