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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐞] Component is incorrectly marked as non-serializable. #4794

Closed
mhevery opened this issue Jul 14, 2023 · 0 comments
Closed

[🐞] Component is incorrectly marked as non-serializable. #4794

mhevery opened this issue Jul 14, 2023 · 0 comments
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working

Comments

@mhevery
Copy link
Contributor

mhevery commented Jul 14, 2023

Which component is affected?

Qwik Runtime

Describe the bug

image

export const PopupManager = component$(() => {
  const popup = useStore({
    Component: null as null | Component<any>,
    props: null as any,
    visible: false,
    x: 0,
    y: 0,
  });
  return (
    <div
      document:onMouseEnter$={(e) => {
        popup.visible = true;
      }}
      document:onMouseLeave$={(e) => {
        popup.visible = true;
      }}
    >
  </div>
  );
});

Reproduction

can't reproduce in SB because it does not support linters

Steps to reproduce

No response

System Info

na

Additional Information

No response

@mhevery mhevery added TYPE: bug Something isn't working STATUS-1: needs triage New issue which needs to be triaged labels Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant