Kofifus
c3717e3ff7
Enhance augmented dispatch examples ( #1112 )
2023-04-04 11:24:03 +09:00
Zacharias Enochsson
5dff7237f5
Typo ( #1110 )
2023-02-23 16:35:20 +09:00
Zacharias Enochsson
44aa0dfab3
Improve example of returning array of nodes ( #1109 )
2023-02-23 14:08:13 +09:00
Zacharias Enochsson
9ee6a507c8
Use examples that work ( #1107 )
...
The original example referenced dispatching an action within an augmented dispatch function, which is harmful. This proposal shows how augmented dispatch "middleware" can be used in a safe way to tap in to dispatched actions and state updates. Also demonstrates how multiple predefined middlewares can be combined.
2023-02-09 13:47:15 +09:00
Kofifus
008e184c76
Flowchart update ( #1106 )
2023-01-31 15:57:54 +09:00
Tim Gates
0be594c713
docs: Fix a few typos ( #1103 )
2022-12-28 10:15:48 +09:00
Kofifus
8fffd71fbd
Added doc for synthetic events ( #1099 )
2022-09-19 00:11:56 -03:00
markfirmware
2254f95467
init: of app() needs effectful array too ( #1097 )
2022-08-09 15:39:15 -03:00
Zacharias Enochsson
ffafc680a6
remove settimeout fallback ( #1093 )
2022-05-12 09:49:41 -03:00
Sean Hagstrom
e93e6fd56d
Fix typo in svg package installation docs ( #1094 )
2022-05-07 19:00:15 -03:00
Jorge Bucaran
876d3f44d0
2.0.22
2022-03-25 17:42:56 -03:00
Zacharias Enochsson
6f1a8c8a61
Move createClass to h revisited ( #1091 )
...
Doesn't enforce a class property on every vnode
2022-03-25 10:37:01 -03:00
Zacharias Enochsson
f6c6d31fe9
Less class patching ( #1090 )
...
Move createClass to h.
2022-03-22 19:24:46 -03:00
Kofifus
153a3a9776
Doc refactor ( #1088 )
2022-03-18 22:45:09 -03:00
Jorge Bucaran
d672104de5
2.0.21
2022-03-02 09:26:37 -03:00
Zacharias Enochsson
82caa5d941
Allow bare effecter as effect ( #1075 )
2022-03-02 09:25:20 -03:00
Kofifus
935f4c6acc
Flowchart ( #1085 )
2022-02-22 21:33:41 -03:00
Jorge Bucaran
f9518be1ad
2.0.20
2021-12-20 19:42:13 -03:00
Zacharias Enochsson
3a1318ba1f
Fix create node options when props.is undefined ( #1076 )
2021-12-05 12:22:13 -03:00
Jorge Bucaran
32ada420b3
@hyperapp/dom@1.0.0
2021-09-22 15:39:48 +09:00
Jorge Bucaran
60b8a921d0
@hyperapp/events@2.0.0
2021-09-22 15:39:07 +09:00
Jorge Bucaran
16f2a77e16
@hyperapp/svg@2.0.0
2021-09-22 15:38:41 +09:00
Jorge Bucaran
4710c1c5fe
@hyperapp/html@2.0.0
2021-09-22 15:35:16 +09:00
Jorge Bucaran
f5f33cd016
@hyperapp/time@1.0.0
2021-09-22 15:30:59 +09:00
Jorge Bucaran
57ce902ee2
Add periods
2021-09-22 15:30:22 +09:00
Jorge Bucaran
8594d20a74
Revive packages, let me explain!
...
Really the lack of a declarative Task API (think pure,
lazy promises) was the motivation behind deprecating
packages in the first place. Without tasks, @/dom,
@/random, and @/http are unable to easily chain
effects (sync or async) without actions.
This is a limitation of Hyperapp, not an issue with any
particular package. Some packages don't even need tasks
@/html, @/svg, @/events, and confiscating everything
has done more harm than good, so I've decided to
bring them back.
Maybe we'll figure out tasks someday.
2021-09-22 15:21:47 +09:00
Jorge Bucaran
dc10f52bb2
2.0.19
2021-09-01 11:58:06 +09:00
Zacharias Enochsson
088ea05a45
Allow conditional effects types ( #1071 )
2021-08-18 11:20:44 +09:00
Jorge Bucaran
d6e07044d2
Update expired Discord invite link
2021-08-05 18:33:02 +09:00
Seasonley
e64faca609
Fix tutorial code ( #1063 )
2021-05-10 08:10:50 +09:00
Jorge Bucaran
865e389f20
2.0.18
2021-05-05 09:38:32 +09:00
Zacharias Enochsson
a9a04853ad
Improve types DX ( #1062 )
2021-05-05 09:38:07 +09:00
Zacharias Enochsson
f3350fea96
New shiny tutorial ( #1060 )
2021-05-04 20:13:09 +09:00
skanne
7a5c5c8e1e
Improve, proofread documentation ( #1059 )
2021-05-04 20:12:00 +09:00
Jorge Bucaran
14cc6c4ba6
2.0.17
2021-04-25 01:59:49 +09:00
Ron Martinez
bb2d720d72
Optimize types ( #1056 )
...
- Expand usage of readonly arrays and readonly tuples.
- Made any the default payload type for Subscription and Effect.
- Narrow the return type of subscribers to just be Unsubscribe.
2021-04-25 01:58:44 +09:00
Jorge Bucaran
28e5ee043b
2.0.16
2021-04-22 17:04:07 +09:00
Ron Martinez
177d83e7ab
Better direct usage of EventActions ( #1054 )
2021-04-22 17:03:33 +09:00
Ron Martinez
92bf6f4c49
Better handling of type params for memo() ( #1053 )
2021-04-22 17:02:25 +09:00
Jorge Bucaran
32d7713e83
2.0.15
2021-04-18 14:39:47 +09:00
Jorge Bucaran
ab8abae330
Remove extraneous node parameter
2021-04-18 09:40:33 +09:00
Ron Martinez
59f4a10675
More work on types ( #1047 )
...
- Refactor App type, PropList, Dispatch.
- Remove Transform and other non-essentials.
- Improve types for custom payloads.
- Inline ActionWithPayload, Effecter, StateWithEffects, and Subscriber.
- Adjust type parameters for text().
2021-04-17 12:39:08 +09:00
Jorge Bucaran
4bc82a237e
Add missing types: field in package.json
2021-04-11 09:31:00 +09:00
Jorge Bucaran
d4814c18e1
2.0.14
2021-04-08 00:24:04 +09:00
Ron Martinez
77ca5ab390
Improve dispatch docs ( #1046 )
2021-04-07 10:53:54 +09:00
Zacharias Enochsson
9e0171fb20
Enable definite payloads ( #1045 )
2021-04-06 10:25:26 +09:00
Jorge Bucaran
ef7af06246
2.0.13
2021-04-05 18:35:42 +09:00
Jorge Bucaran
c38214ed21
Prettify
2021-04-05 18:35:20 +09:00
Jorge Bucaran
b3b5acd416
Remove monorepo setup
2021-04-05 18:34:13 +09:00
Ron Martinez
a4ce5f5789
TypeScript definitions for 2.x with docs ( #1016 )
2021-04-05 12:29:37 +09:00