Skip to content

feat: add use client directive#7702

Merged
SevereCloud merged 1 commit intomasterfrom
SevereCloud/feat/add-use-client-directive
Oct 3, 2024
Merged

feat: add use client directive#7702
SevereCloud merged 1 commit intomasterfrom
SevereCloud/feat/add-use-client-directive

Conversation

@SevereCloud
Copy link
Copy Markdown
Contributor

@SevereCloud SevereCloud commented Oct 3, 2024

Описание

В react для разделения компонентов на клиентские и серверные требуется использовать директива use client

https://react.dev/reference/rsc/use-client

Изменения

  • Добавлен линтер на use client
  • Автоматом проставлены директивы

Release notes

Улучшения

  • Были добавлены use client директивы

@SevereCloud SevereCloud requested a review from a team as a code owner October 3, 2024 11:48
@SevereCloud SevereCloud force-pushed the SevereCloud/feat/add-use-client-directive branch from 7eeac4b to 5b8fe8e Compare October 3, 2024 11:49
@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci bot commented Oct 3, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 3, 2024

size-limit report 📦

Path Size
JS 385.7 KB (0%)
JS (gzip) 116.73 KB (0%)
JS (brotli) 95.74 KB (0%)
JS import Div (tree shaking) 1.46 KB (0%)
CSS 331.74 KB (0%)
CSS (gzip) 41.58 KB (0%)
CSS (brotli) 32.95 KB (0%)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 3, 2024

e2e tests

Playwright Report

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 3, 2024

👀 Docs deployed

Commit 5b8fe8e

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.14%. Comparing base (749b852) to head (5b8fe8e).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7702   +/-   ##
=======================================
  Coverage   95.14%   95.14%           
=======================================
  Files         383      383           
  Lines       11343    11343           
  Branches     3718     3718           
=======================================
  Hits        10792    10792           
  Misses        551      551           
Flag Coverage Δ
unittests 95.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SevereCloud SevereCloud self-assigned this Oct 3, 2024
Copy link
Copy Markdown
Contributor

@inomdzhon inomdzhon left a comment

Choose a reason for hiding this comment

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

🚀 🚀 🚀

автопростановка через ESLint 😲 гениально!

прикрепил issue в описание

Copy link
Copy Markdown
Contributor

@andrey-medvedev-vk andrey-medvedev-vk left a comment

Choose a reason for hiding this comment

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

👏

@SevereCloud SevereCloud merged commit 6b5a24f into master Oct 3, 2024
@SevereCloud SevereCloud deleted the SevereCloud/feat/add-use-client-directive branch October 3, 2024 13:03
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.

[Feature]: Пометить компоненты как клиентские

3 participants