aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* :zap: Iterate gleam lists with while loops for that sweet perf.Hayleigh Thompson2023-07-19
|
* :recycle: Create the proper error type in javascript and save the pointless ↵Hayleigh Thompson2023-07-19
| | | | ffi wrapper.
* :truck: Rename 'Cmd' to 'Effect' to better communicate what they're all about.Hayleigh Thompson2023-07-19
|
* :memo: Attribute html element reference to MDN.Hayleigh Thompson2023-07-19
|
* :bug: Fixed a bug where the 'for' attribute still used the old react-style ↵Hayleigh Thompson2023-07-19
| | | | 'htmlFor' name.
* :recycle: Handle text escaping only when emitting a HTML string.Hayleigh Thompson2023-07-19
|
* :alembic: Maybe we can just roll our own DOM patching?Hayleigh Thompson2023-07-19
|
* :truck: Move html-related constructors into a separate module.Hayleigh Thompson2023-07-18
|
* :recycle: Represent elements as a normal Gleam custom type.Hayleigh Thompson2023-07-18
|
* :recycle: Represent attributes as a normal Gleam custom type.Hayleigh Thompson2023-07-18
|
* :recycle: Move cursed prototype patching into runtime module.Hayleigh Thompson2023-07-18
|
* :heavy_plus_sign: Vendor morphdom as the dom patching library.Hayleigh Thompson2023-07-18
|
* :recycle: Upgrade syntax for Gleam v0.30Hayleigh Thompson2023-07-14
|
* :bug: Fixed a runtime bug for mapping event handlers.Hayleigh Thompson2023-07-12
|
* :bug: Fixed bug where autocomplete attribute was a bool not a string.Hayleigh Thompson2023-07-12
|
* ♻️ Replace React with diffhtml (#10)Hayleigh Thompson2023-07-10
| | | | | | | | | | | | | | | * :wrench: Remove react dependency, add vite for running examples. * :heavy_plus_sign: Update stdlib version to 0.29 * :fire: Remove old examples. * :sparkles: Vendor diffhtml and update runtime ffi code to replace react. * :recycle: Refactor all the things now react is gone. * :memo: Remove references to react in the readme. * :sparkles: Create a simple counter example.
* :bookmark: v3.0.0-rc.23.0.0-rc.2Hayleigh Thompson2023-04-28
|
* :bookmark: Code for 3.0.0-rc.13.0.0-rc.1Hayleigh Thompson2023-04-27
|
* :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