We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fresh-server-event-handlers
Fresh 1.4, located at /routes/mypage/(_islands)/MyIsland.tsx
<input type="checkbox" checked={!myvalue} onClick={() => { myaction(); }} />
No lint errors
Following lint message is displayed:
Server components cannot install client side event handlers. hint: Remove this property or turn the enclosing component into an island
Server components cannot install client side event handlers.
hint: Remove this property or turn the enclosing component into an island
Fresh 1.4 now allows placing any islands component under routes, in (_islands) sub-directory. See https://deno.com/blog/fresh-1.4
(_islands)
deno 1.36.1 (release, aarch64-apple-darwin) v8 11.6.189.12 typescript 5.1.6 Fresh 1.4.2
The text was updated successfully, but these errors were encountered:
this should be fixed in #1195 however I dont think it is released yet
Sorry, something went wrong.
This is released now.
No branches or pull requests
Lint Name
fresh-server-event-handlers
Code Snippet
Fresh 1.4, located at /routes/mypage/(_islands)/MyIsland.tsx
Expected Result
No lint errors
Actual Result
Following lint message is displayed:
Server components cannot install client side event handlers.
hint: Remove this property or turn the enclosing component into an island
Additional Info
Fresh 1.4 now allows placing any islands component under routes, in
(_islands)
sub-directory.See https://deno.com/blog/fresh-1.4
Version
deno 1.36.1 (release, aarch64-apple-darwin)
v8 11.6.189.12
typescript 5.1.6
Fresh 1.4.2
The text was updated successfully, but these errors were encountered: