lambda-packages icon indicating copy to clipboard operation
lambda-packages copied to clipboard

Client directive not working on namespaced JSX

Open pomber opened this issue 3 years ago • 6 comments

What version of astro are you using?

1.0.6

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

npm, yarn

What operating system are you using?

Linux

Describe the Bug

This is hydrated

import { Counter } from '../components/Counter.jsx';

<Counter client:load />

but this isn't

import { Foo } from '../components/Foo.jsx';

<Foo.Counter client:load />

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-stiwfz-adqbjh?file=package.json

Participation

  • [ ] I am willing to submit a pull request for this issue.

pomber avatar Aug 19 '22 11:08 pomber