isomorfeus-preact 10.5.10 → 10.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/lib/isomorfeus/preact_view_helper.rb +2 -2
- data/lib/preact/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88419500cce67fa82bb314527fdfde5446514866e03ca82a4d07e2cad72f123e
|
|
4
|
+
data.tar.gz: 0d9b1adce9accf362a4177679ed70a75615527061c1930e16f3899cd79d5a19b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7439461af62b5c00c13d60f5a125494ca3029997825833d5c9bd4a6b0febfd546085584e27c60109666b983a180a45de863d60268894031bd6691ea9c35ba635
|
|
7
|
+
data.tar.gz: 892814a7a6dbe6eab3d2ef7c116412f01e9815be8b37f952a8a3936d46645200289be6e3c978eaa0941f6d061c4fd6e940cccc7b0cc7834fc491241e1a904ea7
|
data/README.md
CHANGED
|
@@ -13,8 +13,6 @@ Isomorfeus-preact 10.5.x implements features and the API of Preact 10.5.y and sh
|
|
|
13
13
|
|
|
14
14
|
## Documentation
|
|
15
15
|
|
|
16
|
-
- [Installation](https://github.com/isomorfeus/isomorfeus-preact/blob/master/ruby/docs/installation.md)
|
|
17
|
-
|
|
18
16
|
Because isomorfeus-preact follows closely the Preact principles/implementation/API and Documentation, most things of the official Preact documentation
|
|
19
17
|
apply, but in the Ruby way, see:
|
|
20
18
|
- [https://preactjs.com/guide/v10/getting-started](https://preactjs.com/guide/v10/getting-started)
|
|
@@ -27,8 +25,7 @@ Component Types:
|
|
|
27
25
|
- [React Javascript Components and React Elements](https://github.com/isomorfeus/isomorfeus-preact/blob/master/ruby/docs/javascript_component.md)
|
|
28
26
|
|
|
29
27
|
Which component to use?
|
|
30
|
-
- Usually LucidApp and LucidComponent
|
|
31
|
-
- For MaterialUI LucidMaterial::App and LucidMaterial::Component along with some imported javascript components.
|
|
28
|
+
- Usually LucidApp and LucidComponent.
|
|
32
29
|
|
|
33
30
|
Specific to Class, Lucid and LucidMaterial Components:
|
|
34
31
|
- [Events](https://github.com/isomorfeus/isomorfeus-preact/blob/master/ruby/docs/events.md)
|
|
@@ -47,7 +44,7 @@ Special React Features:
|
|
|
47
44
|
- [Refs](https://github.com/isomorfeus/isomorfeus-preact/blob/master/ruby/docs/refs.md)
|
|
48
45
|
|
|
49
46
|
Other Features:
|
|
50
|
-
- [Hot Module Reloading](https://github.com/isomorfeus/isomorfeus-preact/blob/master/ruby/docs/
|
|
47
|
+
- [Hot Module Reloading](https://github.com/isomorfeus/isomorfeus-preact/blob/master/ruby/docs/hot_module_reloading.md)
|
|
51
48
|
- [Server Side Rendering](https://github.com/isomorfeus/isomorfeus-preact/blob/master/ruby/docs/server_side_rendering.md)
|
|
52
49
|
- [Using Wouter as Router](https://github.com/isomorfeus/isomorfeus-preact/blob/master/ruby/docs/wouter.md)
|
|
53
50
|
- [Isomorfeus Helpers](https://github.com/isomorfeus/isomorfeus-preact/blob/master/ruby/docs/isomorfeus_helpers.md)
|
|
@@ -135,13 +135,13 @@ module Isomorfeus
|
|
|
135
135
|
Isomorfeus.raise_error(message: exception['message'], stack: exception['stack']) if exception
|
|
136
136
|
render_result << " data-iso-hydrated='true'" if rendered_tree
|
|
137
137
|
if Isomorfeus.respond_to?(:current_user) && Isomorfeus.current_user && !Isomorfeus.current_user.anonymous?
|
|
138
|
-
render_result << " data-iso-usid=#{Oj.dump(Isomorfeus.current_user.
|
|
138
|
+
render_result << " data-iso-usid=#{Oj.dump(Isomorfeus.current_user.sid, mode: :strict)}"
|
|
139
139
|
end
|
|
140
140
|
render_result << " data-iso-nloc='#{props[:locale]}'>"
|
|
141
141
|
render_result << (rendered_tree ? rendered_tree : "SSR didn't work")
|
|
142
142
|
else
|
|
143
143
|
if Isomorfeus.respond_to?(:current_user) && Isomorfeus.current_user && !Isomorfeus.current_user.anonymous?
|
|
144
|
-
render_result << " data-iso-usid=#{Oj.dump(Isomorfeus.current_user.
|
|
144
|
+
render_result << " data-iso-usid=#{Oj.dump(Isomorfeus.current_user.sid, mode: :strict)}"
|
|
145
145
|
end
|
|
146
146
|
render_result << " data-iso-nloc='#{props[:locale]}'>"
|
|
147
147
|
end
|
data/lib/preact/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Biedermann
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: concurrent-ruby
|
|
@@ -86,14 +86,14 @@ dependencies:
|
|
|
86
86
|
requirements:
|
|
87
87
|
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 0.13.
|
|
89
|
+
version: 0.13.2
|
|
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.13.
|
|
96
|
+
version: 0.13.2
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: isomorfeus-redux
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -491,7 +491,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
491
491
|
- !ruby/object:Gem::Version
|
|
492
492
|
version: '0'
|
|
493
493
|
requirements: []
|
|
494
|
-
rubygems_version: 3.2.
|
|
494
|
+
rubygems_version: 3.2.22
|
|
495
495
|
signing_key:
|
|
496
496
|
specification_version: 4
|
|
497
497
|
summary: Preact for the Isomorfeus Framework Project.
|