webpack / webpack/webpack

Module Federation Share should support layers/issuerLayer

Open
#18,988 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted status: stale
Dominant language
JavaScript
Stars
65.9k
Forks
9.5k
Avg merge
10h 40m
Merged PRs (30d)
296

Description

Feature request

Loader layers currently have no convention for support when using something like issueLayer, for example with RSC

What is the expected behavior?

There should be a convention to specify or auto assign the layers used when creating the shares

What is motivation or use case for adding/changing the behavior?

RSC support likely will need loader layers or layers to work

How should this be implemented in your opinion?

Unsure but i think it needs to be cone at ConsumeShared and ProvideShared, either in the hooks or in the Module classes of these - but i do not know

Are you willing to work on this yourself?
yes

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 tracing Module Federation sharing through ConsumeShared and ProvideShared, including the hooks and Module classes named in the issue. Determine a convention for specifying or auto-assigning loader layers when shares are created, then verify that the behavior supports the RSC use case described.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.