microsoft / microsoft/react-native-windows

Add Support for Metro http Scheme on Windows

Open
#8,642 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Metro enhancement Workstream: Developer Experience
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.