-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
🐛 BUG: client:only
doesn't work for some renderers
#2662
Comments
UpdateI just noticed this in the docs:
Attempts [2, 3] do not exhibit the same issue as [1] as described in the original issue post. They no longer crash the dev server, however, they do not render properly. Additionally, on an actual project with more complexity (dependencies, etc.), I encounter the following error with the same configuration:
This error only occurs with Could these names be refactored to use just one Solid alias for both |
same here in 0.24.3. with
|
still the same in 0.25.4 |
Forwarding this from #3154, similar issue confirmed wth Describe the BugSteps to reproduce:
React Errors
Vue Errors
Additional context @ Discord/#support-threads/enteleform(2022-04-20) Link to Minimal Reproducible Examplehttps://codesandbox.io/s/astro-client-directive-issues-82bu8s?file=/src/pages/index.astro:769-1214 |
Just confirmed locally that this reproduction now works in both dev and production in the latest Astro! Feel free to open a new issue if you run into a related bug, but I think we're all set! Thank for such a clear reproduction here, made it very straight forward to confirm with the latest build 👏 |
Reopened @ #3362. |
I'm still having this issue trying to use a react component using the client:only directive. While using the client:load directive their is an error about using browser API's, I am using Astro V4.04 and Astro/React 3.0.10 |
What version of
astro
are you using?0.23.1
What package manager are you using?
Yarn
What operating system are you using?
Windows
Describe the Bug
Expected
Using either of the following will result in a successful render:
client:only
+jsxImportSource
pragmaclient:only="renderer-name"
Actual
Link to Minimal Reproducible Example
https://codesandbox.io/s/github/enteleform-codesandbox/0010--Astro--ClientOnly?file=/src/pages/index.astro:969-1055
The text was updated successfully, but these errors were encountered: