isomorfeus-preact 10.5.4 → 10.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/preact_view_helper.rb +2 -2
- data/lib/preact/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5099cf9839b4aad7edb9989452c1d1e2a1a4d5a9c0a976604339c613c9b2a1c6
|
4
|
+
data.tar.gz: 6b439959ee9af20e6f2f90319e366a73c87d7c7b4ad4167833ee2521e88c8eca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0be97f9a391ad39d689609712adc124460b784269087ca08c1fef07115564c288a20563d4ff771b5af6c4efc3d18bb8a947b1a07a6c2188120dc25aa548eb10f
|
7
|
+
data.tar.gz: 216bb6094f7f317bb7f12ff5178d20812c6d28c329264b9661b436abd940b1a5c7af5c9ed0a43ca2b655d7469c87482b699b94414632a4335e56cd90917bdda2
|
@@ -16,12 +16,12 @@ module Isomorfeus
|
|
16
16
|
render_result
|
17
17
|
end
|
18
18
|
|
19
|
-
def mount_component(component_name, props = {}, asset_key = 'ssr.js', skip_ssr: false)
|
19
|
+
def mount_component(component_name, props = {}, asset_key = 'ssr.js', skip_ssr: false, use_ssr: false)
|
20
20
|
@ssr_response_status = nil
|
21
21
|
@ssr_styles = nil
|
22
22
|
thread_id_asset = "#{Thread.current.object_id}#{asset_key}"
|
23
23
|
render_result = "<div data-iso-env=\"#{Isomorfeus.env}\" data-iso-root=\"#{component_name}\" data-iso-props='#{Oj.dump(props, mode: :strict)}'"
|
24
|
-
if !skip_ssr && Isomorfeus.server_side_rendering
|
24
|
+
if !skip_ssr && (Isomorfeus.server_side_rendering || use_ssr)
|
25
25
|
if Isomorfeus.development?
|
26
26
|
# always create a new context, effectively reloading code
|
27
27
|
# delete the existing context first, saves memory
|
data/lib/preact/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-preact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.5.
|
4
|
+
version: 10.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: isomorfeus-asset-manager
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.12.
|
89
|
+
version: 0.12.3
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.12.
|
96
|
+
version: 0.12.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: isomorfeus-redux
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,16 +168,16 @@ dependencies:
|
|
168
168
|
name: isomorfeus-puppetmaster
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.5.
|
173
|
+
version: 0.5.2
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.5.
|
180
|
+
version: 0.5.2
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rake
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|