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

Stop using defer_generated_component_packs in spec/dummy #1539

Closed
wants to merge 16 commits into from

Conversation

Judahmeek
Copy link
Contributor

@Judahmeek Judahmeek commented May 25, 2023

Comments out config.defer_generated_component_packs = false in spec/dummy/config/initializers/react_on_rails.rb since it is apparently no longer neccessary for CI to pass.

Superseded by #1540


This change is Reviewable

@Judahmeek Judahmeek requested a review from justin808 May 25, 2023 22:56
@@ -36,5 +36,5 @@ def self.adjust_props_for_client_side_hydration(component_name, props)
config.rendering_props_extension = RenderingPropsExtension
config.components_subdirectory = "startup"
config.auto_load_bundle = true
config.defer_generated_component_packs = false
# config.defer_generated_component_packs = false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented out should be the default with an explanation of why change this. Typically, that is b/c we're loading jQuery and inline HTML scripts need the JS code loaded first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants