GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — [DevTools] Add Filtering of Environment Names (#30850) by mofeiZ · Pull Request #31189 · react/react Conversation
Contributor
Stack from ghstack (oldest at bottom):
Stacked on #30842. This adds a filter to be able to exclude Components from a certain The available options are computed into a dropdown based on the names "Client" in this case means Function and Class Components in Fiber - If a Server Component has two environments (primary and secondary) then We don't show the option at all if there are no Server Components used
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsStacked on #30842. This adds a filter to be able to exclude Components from a certain environment. Default to Client or Server. The available options are computed into a dropdown based on the names that are currently used on the page (or an option that were previously used). In addition to the hardcoded "Client". Meaning that if you have Server Components on the page you see "Server" or "Client" as possible options but it can be anything if there are multiple RSC environments on the page. "Client" in this case means Function and Class Components in Fiber - excluding built-ins. If a Server Component has two environments (primary and secondary) then both have to be filtered to exclude it. We don't show the option at all if there are no Server Components used in the page to avoid confusing existing users that are just using Client Components and wouldn't know the difference between Server vs Client. <img width="815" alt="Screenshot 2024-08-30 at 12 56 42 AM" src="https://github.com/user-attachments/assets/e06b225a-e85d-4cdc-8707-d4630fede19e"> [ghstack-poisoned]
|
There was an error while loading. Please reload this page.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
(accidental duplicate) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
b6589481
Deployed
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.