aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* :recycle: Remove unused imports.Hayleigh Thompson2023-04-05
|
* 🐛 Avoid a race condition when dispatch is used twice from outside (#8)Kero van Gelder2023-04-05
| | | | | | | | | | | | | | | | | * Upgrade examples to lustre 2.0 * Upgrade to gleam 0.27.0 * Fix: avoid a race condition when dispatch is used twice from outside E.g. websocket open + websocket msg arriving Application returns a Cmd from update(model, msg) but the Effect handler is *not* ran be React 18 before the websocket msg-arriving is handled by the Reducer. Result: The Cmd returned by update(model, msg) is dropped silently. --------- Co-authored-by: Kero van Gelder <kero@chmeee.org>
* 🐛 Rename `for` attribute string to `htmlFor` to reflect usage in React. (#7)Danny Martini2023-03-07
| | | `for` can't be use in JS as it's a reserved keyword, so react renamed the property to `htmlFor`
* :memo: Docs for the docs god.Hayleigh Thompson2023-02-13
|
* :memo: Docs for the docs god.Hayleigh Thompson2023-02-13
|
* :recycle: Remove distinction between attributes and properties: react ↵Hayleigh Thompson2023-02-13
| | | | doesn't care.
* :memo: Docs for the docs god.Hayleigh Thompson2023-02-13
|
* :recycle: Simplify event handlers to handle the most common case.Hayleigh Thompson2023-02-13
|
* :sparkles: Merge string attributes together.Hayleigh Thompson2023-02-13
|
* :bug: Fixed a bug where 'toProps' would break on minified builds.Hayleigh Thompson2022-09-05
|
* :pencil: Fix typo: 'require' -> 'required'.Hayleigh Thompson2022-09-05
|
* :bug: Fix incorrectly-cased attribute and event names.Hayleigh Thompson2022-07-02
|
* :sparkles: Expose function for converting lists of attributes into a props ↵Hayleigh Thompson2022-05-22
| | | | object React will be happy with.
* :memo: More docs for the docs god.Hayleigh Thompson2022-05-21
|
* :memo: Begin writing useful docs.Hayleigh Thompson2022-05-21
|
* :sparkles: Add a 'Cmd' abstraction for performing side effects and bringing ↵Hayleigh Thompson2022-05-21
| | | | dispatching actions based on their result.
* :sparkles: Add many common events.Hayleigh Thompson2022-05-14
|
* :sparkles: Add many common attribute functions.Hayleigh Thompson2022-05-14
|
* :sparkles: Create a special-case 'style' attribute because React is awkward.Hayleigh Thompson2022-05-14
|
* :sparkles: Add 'dispatch' helper to replace writing lambdas for event callbacks.Hayleigh Thompson2022-05-14
|
* :bug: Fixed bug where FFI module was overwriting gleam module of the same name.Hayleigh Thompson2022-05-14
|
* :truck: Move FFI code to project root.Hayleigh Thompson2022-05-14
|
* :recycle: Explicitly pass 'dispatch' callback to event handlers.Hayleigh Thompson2022-05-14
|
* :pencil: Rename 'html' to 'node'.Hayleigh Thompson2022-05-14
|
* :memo: Write some doc comments.Hayleigh Thompson2022-05-14
|
* :sparkles: Add support for components with encapsulated state.Hayleigh Thompson2022-03-21
|
* :construction: Morphdom is dead, long live React.Hayleigh Thompson2022-03-20
|
* :construction: Begin experimenting with html/dom api.Andy Thompson2022-02-11