GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add use-subscription to Rollup bundle config (#16326) · react/react@8d54038

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts/rollup
    • bundles.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/rollup/bundles.js‎

Copy file name to clipboardExpand all lines: scripts/rollup/bundles.js
+10-1Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ const bundles = [
393393
externals: ['react', 'scheduler'],
394394
},
395395

396-
/******* createComponentWithSubscriptions (experimental) *******/
396+
/******* createComponentWithSubscriptions *******/
397397
{
398398
bundleTypes: [NODE_DEV, NODE_PROD],
399399
moduleType: ISOMORPHIC,
@@ -409,6 +409,15 @@ const bundles = [
409409
}),
410410
},
411411

412+
/******* Hook for managing subscriptions safely *******/
413+
{
414+
bundleTypes: [NODE_DEV, NODE_PROD],
415+
moduleType: ISOMORPHIC,
416+
entry: 'use-subscription',
417+
global: 'useSubscription',
418+
externals: ['react'],
419+
},
420+
412421
/******* React Scheduler (experimental) *******/
413422
{
414423
bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.