@reactful/create 1.2.1 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -7
- package/commons/package.json +21 -21
- package/commons/tsconfig.json +24 -24
- package/index.js +148 -148
- package/package.json +31 -31
- package/templates/minimal/components/hello.tsx +8 -8
- package/templates/minimal/components/icon.tsx +11 -0
- package/templates/minimal/components/index.ts +2 -1
- package/templates/minimal/routes/index.tsx +7 -6
- package/templates/sampling/apis/auth/db.ts +14 -14
- package/templates/sampling/apis/auth/index.ts +27 -27
- package/templates/sampling/apis/hello.ts +2 -2
- package/templates/sampling/apis/quotes.ts +15 -15
- package/templates/sampling/apis/sub/index.ts +2 -2
- package/templates/sampling/apis/sub/sub.ts +2 -2
- package/templates/sampling/assets/bootstrap-icons.css +5 -0
- package/templates/sampling/assets/default.css +94 -91
- package/templates/sampling/assets/fonts/bootstrap-icons.woff +0 -0
- package/templates/sampling/assets/fonts/bootstrap-icons.woff2 +0 -0
- package/templates/sampling/assets/icon.svg +6 -6
- package/templates/sampling/assets/manifest.json +56 -56
- package/templates/sampling/assets/markdown.css +273 -273
- package/templates/sampling/assets/robots.txt +1 -1
- package/templates/sampling/assets/system.css +6 -6
- package/templates/sampling/builds/about.html +29 -26
- package/templates/sampling/builds/bundle.js +34763 -13116
- package/templates/sampling/builds/bundle.ts +20 -25
- package/templates/sampling/builds/clock.html +29 -28
- package/templates/sampling/builds/counter.html +30 -29
- package/templates/sampling/builds/forms/form.html +48 -47
- package/templates/sampling/builds/forms/index.html +48 -47
- package/templates/sampling/builds/hello.html +61 -59
- package/templates/sampling/builds/htmlx.html +26 -23
- package/templates/sampling/builds/htmlx.tsx +12 -12
- package/templates/sampling/builds/index.html +98 -97
- package/templates/sampling/builds/login.html +47 -44
- package/templates/sampling/builds/profile/index.html +54 -53
- package/templates/sampling/builds/quotes.html +26 -25
- package/templates/sampling/builds/shared.js +77 -76
- package/templates/sampling/builds/system.html +27 -26
- package/templates/sampling/components/header.tsx +6 -6
- package/templates/sampling/components/hello.tsx +9 -0
- package/templates/sampling/components/icon.tsx +11 -0
- package/templates/sampling/components/index.ts +3 -0
- package/templates/sampling/index.html +20 -19
- package/templates/sampling/index.ts +18 -18
- package/templates/sampling/routes/about.html +12 -12
- package/templates/sampling/routes/clock.tsx +36 -35
- package/templates/sampling/routes/forms/form.tsx +50 -50
- package/templates/sampling/routes/hello.tsx +58 -61
- package/templates/sampling/routes/htmlx.html +14 -14
- package/templates/sampling/routes/index.md +15 -15
- package/templates/sampling/routes/login.tsx +35 -35
- package/templates/sampling/routes/profile/detail.css +12 -12
- package/templates/sampling/routes/profile/detail.tsx +47 -47
- package/templates/sampling/routes/profile/index.tsx +13 -13
- package/templates/sampling/routes/profile/profile.css +8 -8
- package/templates/sampling/routes/profile/tester.tsx +10 -10
- package/templates/sampling/routes/system.tsx +1 -0
- package/templates/sampling/tests/access.spec.ts +29 -29
- package/templates/sampling/tests/counter.spec.ts +18 -18
- package/templates/sampling/tests/form.spec.ts +50 -50
- package/templates/sampling/tests/hello.spec.ts +24 -24
- package/templates/sampling/tests/path.test.ts +19 -19
- package/vscode/launch.json +8 -8
- package/templates/sampling/builds/client.ts +0 -1
- /package/templates/sampling/assets/{logo-144.png → logos/logo-144.png} +0 -0
- /package/templates/sampling/assets/{logo-168.png → logos/logo-168.png} +0 -0
- /package/templates/sampling/assets/{logo-192.png → logos/logo-192.png} +0 -0
- /package/templates/sampling/assets/{logo-48.png → logos/logo-48.png} +0 -0
- /package/templates/sampling/assets/{logo-512.png → logos/logo-512.png} +0 -0
- /package/templates/sampling/assets/{logo-72.png → logos/logo-72.png} +0 -0
- /package/templates/sampling/assets/{logo-96.png → logos/logo-96.png} +0 -0
@@ -1,25 +1,20 @@
|
|
1
|
-
|
2
|
-
import { GLOBAL_KEY } from '@reactful/commons'
|
3
|
-
await import('/mnt/b/Repositorios/reactful/
|
4
|
-
globalThis[GLOBAL_KEY].clients ||= {}
|
5
|
-
|
6
|
-
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx'] = { off:false, tag:'CountButton' }
|
7
|
-
import('/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx').then(x => x.CountButton)
|
8
|
-
|
9
|
-
|
10
|
-
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx'] =
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
.then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/
|
17
|
-
|
18
|
-
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/
|
19
|
-
import('/mnt/b/Repositorios/reactful/experiment/routes/
|
20
|
-
|
21
|
-
|
22
|
-
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx'] = { off:false, tag:'Detail' }
|
23
|
-
import('/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx').then(x => x.Detail)
|
24
|
-
.then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx'].jsx = x);
|
25
|
-
|
1
|
+
|
2
|
+
import { GLOBAL_KEY } from '@reactful/commons';
|
3
|
+
await import('/mnt/b/Repositorios/reactful/node_modules/@reactful/server/npm/guest/client').then(x => x.default());
|
4
|
+
globalThis[GLOBAL_KEY].clients ||= {}
|
5
|
+
|
6
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx'] = { off:false, tag:'CountButton' }
|
7
|
+
import('/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx').then(x => x.CountButton).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx'] = x);
|
8
|
+
|
9
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx'] = { off:false, tag:'default' }
|
10
|
+
import('/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx'] = x);
|
11
|
+
|
12
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx'] = { off:false, tag:'Hello' }
|
13
|
+
import('/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx'] = x);
|
14
|
+
|
15
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/login.tsx'] = { off:false, tag:'default' }
|
16
|
+
import('/mnt/b/Repositorios/reactful/experiment/routes/login.tsx').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/login.tsx'] = x);
|
17
|
+
|
18
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx'] = { off:false, tag:'Detail' }
|
19
|
+
import('/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx').then(x => x.Detail).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx'] = x);
|
20
|
+
|
@@ -1,29 +1,30 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<meta name="description" content="Home page">
|
7
|
-
<meta name="theme-color" content="#333">
|
8
|
-
<link rel="stylesheet" href="/assets/
|
9
|
-
<link rel="stylesheet" href="/assets/
|
10
|
-
<link rel="
|
11
|
-
<
|
12
|
-
<
|
13
|
-
<meta name='
|
14
|
-
<meta name='
|
15
|
-
<meta name='
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/default.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/experiment/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1 tag="h1" uid="6" class="TimeZone">World Clock</h1>
|
22
|
+
<h2 tag="h2" uid="8" class="TimeZone">Europe/Amistedan timezone</h2>
|
23
|
+
<h3 style="color:yellow" tag="h3" uid="10" class="TimeZone"> <!-- -->2024-4-10<!-- -->
|
24
|
+
<!-- -->18:34:20<!-- --> </h3>
|
25
|
+
<h4
|
26
|
+
await="{"name":"InnerAsyncComponent","path":"/mnt/b/Repositorios/reactful/experiment/routes/clock.tsx"}"
|
27
|
+
tag="h4" uid="12" class="TimeZone">loading...</h4>
|
28
|
+
</div>
|
29
|
+
</body>
|
29
30
|
</html>
|
@@ -1,30 +1,31 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<meta name="description" content="Home page">
|
7
|
-
<meta name="theme-color" content="#333">
|
8
|
-
<link rel="stylesheet" href="/assets/
|
9
|
-
<link rel="stylesheet" href="/assets/
|
10
|
-
<link rel="
|
11
|
-
<
|
12
|
-
<
|
13
|
-
<meta name='
|
14
|
-
<meta name='
|
15
|
-
<meta name='
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/default.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/experiment/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1 tag="h1" uid="3" class="default">Counter</h1>
|
22
|
+
<jsx tag="jsx" uid="9" own="default"
|
23
|
+
src="/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx" hidden
|
24
|
+
class="default">
|
25
|
+
<button style="padding:20px">COUNTED: <b>0</b>
|
26
|
+
</button>
|
27
|
+
</jsx>
|
28
|
+
<h6 tag="h6" uid="7" class="default" hidden>DONT SHOW ME!</h6>
|
29
|
+
</div>
|
30
|
+
</body>
|
30
31
|
</html>
|
@@ -1,48 +1,49 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<meta name="description" content="Home page">
|
7
|
-
<meta name="theme-color" content="#333">
|
8
|
-
<link rel="stylesheet" href="/assets/
|
9
|
-
<link rel="stylesheet" href="/assets/
|
10
|
-
<link rel="
|
11
|
-
<
|
12
|
-
<
|
13
|
-
<meta name='
|
14
|
-
<meta name='
|
15
|
-
<meta name='
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<
|
25
|
-
<
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
<hr />
|
36
|
-
<
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
<
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/default.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/experiment/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<jsx tag="jsx" uid="2" own="default"
|
22
|
+
src="/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx" hidden
|
23
|
+
class="default">
|
24
|
+
<h1>Uncontrolled Components</h1>
|
25
|
+
<progress hidden>test...</progress>
|
26
|
+
<form cols="2" method="post" action="https://jsonplaceholder.typicode.com/posts1">
|
27
|
+
<label>Name<input id="name" bind="name" />
|
28
|
+
</label>
|
29
|
+
<label>Date<input type="date" bind="date" />
|
30
|
+
</label>
|
31
|
+
<label>Work<input pattern="dev|test" bind="work" />
|
32
|
+
</label>
|
33
|
+
<label>Mode<input bind="mode" />
|
34
|
+
</label>
|
35
|
+
<hr />
|
36
|
+
<hr />
|
37
|
+
<label>Accept?<input bind="term" type="checkbox" required />
|
38
|
+
</label>
|
39
|
+
<button>Submit</button>
|
40
|
+
</form>
|
41
|
+
<fieldset>
|
42
|
+
<legend>ERROR</legend>
|
43
|
+
<ul>
|
44
|
+
</ul>
|
45
|
+
</fieldset>
|
46
|
+
</jsx>
|
47
|
+
</div>
|
48
|
+
</body>
|
48
49
|
</html>
|
@@ -1,48 +1,49 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<meta name="description" content="Home page">
|
7
|
-
<meta name="theme-color" content="#333">
|
8
|
-
<link rel="stylesheet" href="/assets/
|
9
|
-
<link rel="stylesheet" href="/assets/
|
10
|
-
<link rel="
|
11
|
-
<
|
12
|
-
<
|
13
|
-
<meta name='
|
14
|
-
<meta name='
|
15
|
-
<meta name='
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<
|
25
|
-
<
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
<hr />
|
36
|
-
<
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
<
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/default.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/experiment/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<jsx tag="jsx" uid="2" own="default"
|
22
|
+
src="/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx" hidden
|
23
|
+
class="default">
|
24
|
+
<h1>Uncontrolled Components</h1>
|
25
|
+
<progress hidden>test...</progress>
|
26
|
+
<form cols="2" method="post" action="https://jsonplaceholder.typicode.com/posts1">
|
27
|
+
<label>Name<input id="name" bind="name" />
|
28
|
+
</label>
|
29
|
+
<label>Date<input type="date" bind="date" />
|
30
|
+
</label>
|
31
|
+
<label>Work<input pattern="dev|test" bind="work" />
|
32
|
+
</label>
|
33
|
+
<label>Mode<input bind="mode" />
|
34
|
+
</label>
|
35
|
+
<hr />
|
36
|
+
<hr />
|
37
|
+
<label>Accept?<input bind="term" type="checkbox" required />
|
38
|
+
</label>
|
39
|
+
<button>Submit</button>
|
40
|
+
</form>
|
41
|
+
<fieldset>
|
42
|
+
<legend>ERROR</legend>
|
43
|
+
<ul>
|
44
|
+
</ul>
|
45
|
+
</fieldset>
|
46
|
+
</jsx>
|
47
|
+
</div>
|
48
|
+
</body>
|
48
49
|
</html>
|
@@ -1,60 +1,62 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<meta name="description" content="Home page">
|
7
|
-
<meta name="theme-color" content="#333">
|
8
|
-
<link rel="stylesheet" href="/assets/
|
9
|
-
<link rel="stylesheet" href="/assets/
|
10
|
-
<link rel="
|
11
|
-
<
|
12
|
-
<
|
13
|
-
<meta name='
|
14
|
-
<meta name='
|
15
|
-
<meta name='
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
26
|
-
<
|
27
|
-
<
|
28
|
-
<input id="1
|
29
|
-
<input id="1.1
|
30
|
-
<
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
<
|
36
|
-
<
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
<
|
42
|
-
<
|
43
|
-
<input id="3
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
<
|
49
|
-
|
50
|
-
|
51
|
-
<
|
52
|
-
|
53
|
-
|
54
|
-
<
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/default.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/experiment/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<jsx tag="jsx" uid="2" own="default"
|
22
|
+
src="/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx" hidden class="default">
|
23
|
+
<h1 style="color:wheat">Hello Forms</h1>
|
24
|
+
<main gaps="0 10px" cols="1" class="hello">
|
25
|
+
<label>
|
26
|
+
<b>LOCAL state </b> <code>function(props)</code>
|
27
|
+
<br />
|
28
|
+
<input id="1" data="[object Object]" bind="value" placeholder="{props}" />
|
29
|
+
<input id="1.1" bind="value" placeholder="default" />
|
30
|
+
<input id="1.1.1" placeholder="inner" style="text-align:right"
|
31
|
+
data="[object Object]" bind="value" />
|
32
|
+
<label> = </label>
|
33
|
+
</label>
|
34
|
+
<label>
|
35
|
+
<b>GLOBAL state</b> <code>function(props, <!-- -->{ store }<!-- -->)</code>
|
36
|
+
<br />
|
37
|
+
<input id="2" data="[object Object]" bind="value" placeholder="outer" />
|
38
|
+
<input id="2.1" placeholder="inner" bind="value" />
|
39
|
+
</label>
|
40
|
+
<label>
|
41
|
+
<b>ORBITAL state</b> <code>useStore(...) + @client(true, ...) </code>
|
42
|
+
<br />
|
43
|
+
<input id="3" data="[object Object]" bind="value" placeholder="outer" />
|
44
|
+
<input id="3.1" placeholder="inner" data="[object Object]" bind="value" />
|
45
|
+
<input id="3.2" style="text-align:right" data="[object Object]" bind="value"
|
46
|
+
placeholder="other" /> = <!-- -->99</label>
|
47
|
+
</main>
|
48
|
+
<br />
|
49
|
+
<hr />
|
50
|
+
<code>
|
51
|
+
<strong>local</strong>: <label id="l1">
|
52
|
+
</label>
|
53
|
+
<br />
|
54
|
+
<strong>global</strong>: <label id="l2">
|
55
|
+
</label>
|
56
|
+
<br />
|
57
|
+
<strong>orbital</strong>: <label id="l3">11</label>
|
58
|
+
</code>
|
59
|
+
</jsx>
|
60
|
+
</div>
|
61
|
+
</body>
|
60
62
|
</html>
|
@@ -1,24 +1,27 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<meta name="description" content="Home page">
|
7
|
-
<meta name="theme-color" content="#333">
|
8
|
-
<link rel="stylesheet" href="/assets/
|
9
|
-
<link rel="stylesheet" href="/assets/
|
10
|
-
<link rel="
|
11
|
-
<
|
12
|
-
<
|
13
|
-
<meta name='
|
14
|
-
|
15
|
-
<
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/default.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/experiment/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1 style="color:wheat">HTML-X</h1>
|
22
|
+
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique eum quaerat nesciunt
|
23
|
+
est molestias accusantium aut sit odit, vero voluptate iure vel aperiam modi libero in
|
24
|
+
praesentium nam obcaecati error!</p>
|
25
|
+
</div>
|
26
|
+
</body>
|
24
27
|
</html>
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import { Header } from '../components/header
|
3
|
-
export default function() {
|
4
|
-
return <>
|
5
|
-
<Header title="HTML-X" />
|
6
|
-
<p>
|
7
|
-
Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
8
|
-
Similique eum quaerat nesciunt est molestias accusantium
|
9
|
-
aut sit odit, vero voluptate iure vel aperiam modi libero
|
10
|
-
in praesentium nam obcaecati error!
|
11
|
-
</p>
|
12
|
-
</>
|
1
|
+
import React from 'react'
|
2
|
+
import { Header } from '../components/header'
|
3
|
+
export default function() {
|
4
|
+
return <>
|
5
|
+
<Header title="HTML-X" />
|
6
|
+
<p>
|
7
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
8
|
+
Similique eum quaerat nesciunt est molestias accusantium
|
9
|
+
aut sit odit, vero voluptate iure vel aperiam modi libero
|
10
|
+
in praesentium nam obcaecati error!
|
11
|
+
</p>
|
12
|
+
</>
|
13
13
|
}
|