aboutsummaryrefslogtreecommitdiff
path: root/test/lustre_test.gleam
Commit message (Collapse)AuthorAge
* :recycle: Mark runtime tests as erlang-only.Hayleigh Thompson2024-04-25
|
* :recycle: Remove use of depcrecated function.composeHayleigh Thompson2024-04-25
|
* 🔀 Escape attribute values when emitting static HTML. (#113)bgw2024-04-25
| | | | | * fix: add the escape function over custom attribute values * fix: update class and style attribute values to be escaped
* 🔀 Add support for element fragments. (#99)Jacob Scearcy2024-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | * #16 add fragment POC * WIP * 16 add fragment support to morph * add keys for fragments * ensure proper fragment order, refactor to handle fragment/element more similarly * fix comment typo, incorrect child typo, simplify key check * fix comment typo * add snapshot tests * flatten fragment using fold right, appending elements * doc update --------- Co-authored-by: Hayleigh Thompson <me@hayleigh.dev>
* :truck: Move cli code to lustre-labs/dev-tools.Hayleigh Thompson2024-03-22
|
* :truck: Move runtime module into internals/.Hayleigh Thompson2024-01-27
|
* :alembic: Set up some basic snapshot tests.Hayleigh Thompson2024-01-27
|
* ✨ Add universal components that can run on the server (#39)Hayleigh Thompson2024-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * :heavy_plus_sign: Add gleam_erlang gleam_otp and gleam_json dependencies. * :sparkles: Add json encoders for elememnts and attributes. * :sparkles: Add the ability to perform an effect with a custom dispatch function. * :construction: Experiment with a server-side component runtime. * :construction: Expose special server click events. * :construction: Experiment with a server-side component runtime. * :construction: Experiment with a server-side component runtime. * :construction: Experiment with a server-side component runtime. * :construction: Create a basic server component client bundle. * :construction: Create a basic server component demo. * :bug: Fixed a bug where the runtime stopped performing patches. * :refactor: Roll back introduction of shadow dom. * :recycle: Refactor to Custom Element-based approach to encapsulating server components. * :truck: Move some things around. * :sparkles: Add a minified version of the server component runtime. * :wrench: Add lustre/server/* to internal modules. * :recycle: on_attribute_change and on_client_event handlers are now functions not dicts. * :recycle: Refactor server component event handling to no longer need explicit tags. * :fire: Remove unnecessary attempt to stringify events. * :memo: Start documeint lustre/server functions. * :construction: Experiment with a js implementation of the server component backend runtime. * :recycle: Experiment with an API that makes heavier use of conditional complilation. * :recycle: Big refactor to unify server components, client components, and client apps. * :bug: Fixed some bugs with client runtimes. * :recycle: Update examples to new lustre api/ * :truck: Move server demo into examples/ folder/ * :wrench: Add lustre/runtime to internal modules. * :construction: Experiment with a diffing implementation. * :wrench: Hide internal modules from docs. * :heavy_plus_sign: Update deps to latest versions. * :recycle: Move diffing and vdom code into separate internal modules. * :sparkles: Bring server components to feature parity with client components. * :recycle: Update server component demo. * :bug: Fix bug where attribute changes weren't properly broadcast. * :fire: Remove unused 'Patch' type. * :recycle: Stub out empty js implementations so we can build for js. * :memo: Docs for the docs gods. * :recycle: Rename lustre.server_component to lustre.component.
* :truck: Move examples out of test so CI doesn't break.Hayleigh Thompson2023-09-22
|
* ♻️ 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.
* :sparkles: Create a simple counter example.Hayleigh Thompson2022-05-14