Skip to content

feat: add React Server Components ('use client') support - #1486

Open
KrotovPetr wants to merge 5 commits into
mainfrom
feat/rsc-use-client
Open

feat: add React Server Components ('use client') support#1486
KrotovPetr wants to merge 5 commits into
mainfrom
feat/rsc-use-client

Conversation

@KrotovPetr

Copy link
Copy Markdown
Contributor
  • feat: add use client directive for RSC
  • feat: add some components to RSC

@KrotovPetr
KrotovPetr force-pushed the feat/rsc-use-client branch from 766b747 to 82978e4 Compare July 21, 2026 08:40
@gravity-ui-bot

Copy link
Copy Markdown
Contributor

Preview is ready.

@gravity-ui-bot

Copy link
Copy Markdown
Contributor

Playwright Test Component is ready.

Comment thread package.json
"require": "./server/index.js",
"import": "./server/index.js"
},
"./models": {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we add these imports ?

import {Check} from '@gravity-ui/icons';

import {BackgroundImage, Buttons, CardBase, ContentList, Links, YFMWrapper} from '../../components';
import BackgroundImage from '../../components/BackgroundImage/BackgroundImage';

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we change imports ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants