Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] Adding client directive #8582

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,3 +1,5 @@
'client';

import { useState, useEffect } from 'react';

import style from './style.module.css';
Expand Down
@@ -1,3 +1,5 @@
'client';

import { useState, useEffect } from 'react';

import styles from './style.module.css';
Expand Down
@@ -1,3 +1,5 @@
'client';

export default function LazyComponent() {
return (
<>
Expand Down
@@ -1,3 +1,5 @@
'client';

import { useState, lazy } from 'react';

const Lazy = lazy(() => import('./lazy.client.js'));
Expand Down
@@ -1,3 +1,5 @@
'client';

export default function ShouldNotServeClientDotJs(props) {
return (
<>
Expand Down