We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8380aa commit 8e9c5c9Copy full SHA for 8e9c5c9
1 file changed
examples/kitchen-sink/index.ts
@@ -81,6 +81,7 @@ const sources = {
81
},
82
83
SYNC_RENDERING_BEHAVIOR: () => {
84
+ // 'initial value' is rendered sync into the HTML, then 123 on the next frame
85
const stream = new BehaviorSubject('initial value').pipe(
86
map(x => 123)
87
);
@@ -1294,7 +1295,7 @@ const sinks = {
1294
1295
1296
Confusions1: () => {
1297
const s = new Subject().pipe(
- map(() => 'should not get this')
1298
+ map(() => 'it works')
1299
1300
1301
const disabled = false;
@@ -1309,7 +1310,7 @@ const sinks = {
1309
1310
map(() => 'should not get this')
1311
1312
- const disabled = false;
1313
+ const disabled = true;
1314
return rml`
1315
<div>
1316
<button rml:disabled="${disabled}" rml:debugger onclick="${s}">disabled=${disabled}</button>
0 commit comments