-
Notifications
You must be signed in to change notification settings - Fork 329
Description
Describe the bug
I'm not sure if this is just solidjs itself, or related to solid-start as well, but I'm creating the bug here in any case. I am using solid-start with SSR enabled for an app, running behind CloudFlare. Enabling the "Auto Minify" options, in the Speed -> Optimizations tab, causes solidjs reactivity to break. Since this is not related to some specific code, I don't have a repo or page to provide, since CloudFlare is needed to test and verify the issue.
The console logs the following error when auto minify is enabled:
There are no issues at all if I disable the auto minify option.
Your Example Website or App
not applicable, any reactive app will produce the behavior
Steps to Reproduce the Bug or Issue
- Create or use a solidjs app with some reactivity features
- Deploy it and use CloudFlare in front of it
- Enable all "Auto minify" options in Speed -> Optimization
- Go to the deployed app and reactivity will be broken
Expected behavior
I expect the solidjs app to work without issues even with these settings enabled.
Screenshots or Videos
No response
Platform
- OS: Tested on Windows and Linux
- Browser: Brave
- Version: v1.47.171
Additional context
I'm not sure if it's possible to solve this issue, but in that case there should be some sort of documentation of the issue, so other users can prevent this from happening.
