aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* :memo: Update documentation links to point to lustre.buildv3.0.4Hayleigh Thompson2023-09-22
|
* :bug: Fixed a bug where style tag content was incorrectly escaped.Hayleigh Thompson2023-09-22
|
* :bug: Fixed a bug that made things unhappy on erlang target.Hayleigh Thompson2023-09-22
|
* :recycle: So long monorepo.Hayleigh Thompson2023-09-19
|
* :truck: Shift things around to accomodate a monorepo.Hayleigh Thompson2023-08-19
|
* :zap: Dispatching messages now synchronously calls tick and render.Hayleigh Thompson2023-07-23
|
* :bug: Fixed a bug where dom patching would break on elements with unexpected ↵Hayleigh Thompson2023-07-23
| | | | children.
* :bug: Fixed a bug where effects were passed a dispatch function with an ↵Hayleigh Thompson2023-07-23
| | | | unbound 'this'.
* :sparkles: Add functions for prevent_default and stop_propagation on events.Hayleigh Thompson2023-07-23
|
* :bug: Fixed bug where attributes would not be removed correctly during patching.Hayleigh Thompson2023-07-23
|
* :bug: Fix bugs with vdom patching when removing elements or rendering into ↵Hayleigh Thompson2023-07-23
| | | | components.
* :recycle: Namespace the html and svg modules under the element module.Hayleigh Thompson2023-07-20
|
* :sparkles: Create a separate module for namespaced svg elements.Hayleigh Thompson2023-07-20
|
* :recycle: Explicitly handle namespaced elements in the vdom tree.Hayleigh Thompson2023-07-20
|
* :recycle: Explicitly handle namespaced elements in the vdom tree.Hayleigh Thompson2023-07-20
|
* :sparkles: Add proper svg support.Hayleigh Thompson2023-07-20
|
* :recycle:Hayleigh Thompson2023-07-20
| | | | Rename terse 'h' and 't' to 'element' and 'text'.
* :bug: Don't use shadow dom so components can be styled in an app.Hayleigh Thompson2023-07-20
|
* :recycle: Only expose application constructors to javascript (eg the client).v3.0.0-rc.5Hayleigh Thompson2023-07-19
|
* :recycle: Only expose 'emit' effect to to javascript (eg the client).Hayleigh Thompson2023-07-19
|
* :sparkles: Add support for nested lustre apps as custom web components.Hayleigh Thompson2023-07-19
|
* :recycle: Create separate 'attribute' and 'property' functions for ↵Hayleigh Thompson2023-07-19
| | | | string/dynamic attrs.
* :sparkles: Convert certain Gleam types to Js ones when setting properties.Hayleigh Thompson2023-07-19
|
* :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
|