alex (he/him)
alex (he/him)
Explore posts from servers
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
Not from our side, I still don’t think we can fix it without changes in solids packages
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
Yeah I haven't figured it out, still trying to debug this. 🤔
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
Okay I took another look, the only error left is this one:
✘ [ERROR] Uncaught (in response) TypeError: Cannot set properties of undefined (setting 'noHydrate')
I'm not sure if that is a bundler/bundling issue anymore, or if that is something else..?
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
Yeah those can be code bugs, we had a dedicated esbuild bundle step in an earlier version, which we now removed thanks to updates to the platform. So we now use output from astro build (vite output) for cloudflare. I haven't seen any reports for other adapters, but that doesn't mean they don't exist there. One difference between cloudflare adapter and other adapters is that we do need to set vite.ssr.target = 'webworker' & vite.ssr.noExternal = true, which leads to a different output of the build step. Maybe we also need to check if @astrojs/solid (https://github.com/withastro/astro/tree/main/packages/integrations/solid) needs an change or update, but I'm not familar with that integration. We do have an pending core update, which is supposed to fix chunking issues, so I hope it will fix all those solid issues, but I'm not 100% sure yet. It's hard for me to debug, if you can tell me what you would need to debug this on solids side, I can try to get those infos & reproductions from users.
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
@ryansolid I wonder if the vite-plugin-solid's vite config (https://github.com/solidjs/vite-plugin-solid/blob/main/src/index.ts#L238-L253), could be adapted to make it work 🤔 (maybe adding conditions or aliases as outlined in https://github.com/solidjs/vite-plugin-solid/issues/153)
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
That's a good question, I'm still trying to debug if it is only the resolution issue or something else. In general we see two types of errors: First:
✘ [ERROR] Uncaught (in response) TypeError: Cannot set properties of undefined (setting 'noHydrate')
Second:
onClick functionality is not working, but in my case moving from <>...</> to <div>...</div> solved the issue.
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
@ryansolid not sure if you remind, but we met in Amsterdam Devworld. I just came here too. I'm maintaining the astro cloudflare adapter. We did had an additional esbuild bundling step in the past, which we removed, that's why we discover a lot of different limiations, which were hidden to us before. We think the most correct approach is to fix it in Solid's vite plugin, but happy to discuss other solutions if you have any idea
49 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
watch the repository for updates on that
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
Thanks.. we haven't figured out the issue with solid & react fully..
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
I don't have a windows machine to debug the backslash issue, but our tests also don't have that issue, so I'm not really sure what happens here
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
@astrojs/cloudflare@0.0.0-cf-10-routes-fix-20240331183009
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
No. I can't reproduce it though. 🤔 For me there is a /_astro/* inside the exclude array, everytime. Can you share the project with me?
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
I'll need to debug the backslash issue deeper, as I can not see this myself and we definetly use / inside the code
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
A fix for the warning of the limit is pending review, but a preview release is available: @astrojs/cloudflare@0.0.0-cf-10-routes-fix-20240330052032
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
Thank you for letting me know. I think I found the issue, will release a fix soon
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
I can't reproduce it in a new empty project
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
I’ll try to reproduce it, and have a fix asap. If you are able to give me a reproducible example using stackblitz that would make it easier for me
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
Ok this shouldn’t happen because we do .slice(0,99)
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
And you are using v10?
30 replies
CDCloudflare Developers
Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
I'm the maintainer of the Astro Cloudflare adapter 😉
30 replies