faceyspacey / faceyspacey/webpack-flush-chunks

Questions about flushing and babel plugin

Open
#77 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
354
Forks
30
PR merge metrics
No merged PRs in 30d

Description

## Question 1
Is the babel plugin required? Or is it only helping for `import()` statements with calculated values?

## Question 2
When I do SSR, I do 2 render passes: the first one to request data, and the second one after all data was finalized.
Only the components that were used in the second render pass should be preloaded on the client

However, I don't see a way to reset the cached list of required chunks. How does this work?

## Question 3
React support streaming rendering, but that means that multiple renders might be running at the same time. How does the plugin know what chunks are required in what tree?

Basically, I am surprised there's no `` around the React tree that is used to mark the used imports…

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.