diff options
author | Jacob Scearcy <jacobscearcy@gmail.com> | 2024-04-19 19:46:34 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 10:46:34 +0100 |
commit | 48b04d9dc06f3f6190c8aafcb85ca12737634234 (patch) | |
tree | 63484354a21b3207b43c830730a46467ea64040c /birdie_snapshots | |
parent | 825c52c431b3768e563b2b595f3fb703e37ebdf4 (diff) | |
download | lustre-48b04d9dc06f3f6190c8aafcb85ca12737634234.tar.gz lustre-48b04d9dc06f3f6190c8aafcb85ca12737634234.zip |
🔀 Add support for element fragments. (#99)
* #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>
Diffstat (limited to 'birdie_snapshots')
-rw-r--r-- | birdie_snapshots/can_compute_a_diff_from_one_render_to_the_next_with_fragments.accepted | 5 | ||||
-rw-r--r-- | birdie_snapshots/can_render_an_application's_initial_state_when_using_fragments.accepted | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/birdie_snapshots/can_compute_a_diff_from_one_render_to_the_next_with_fragments.accepted b/birdie_snapshots/can_compute_a_diff_from_one_render_to_the_next_with_fragments.accepted new file mode 100644 index 0000000..10e6efc --- /dev/null +++ b/birdie_snapshots/can_compute_a_diff_from_one_render_to_the_next_with_fragments.accepted @@ -0,0 +1,5 @@ +--- +version: 1.1.0 +title: Can compute a diff from one render to the next with fragments +--- +[[["0-2-0",{"content":"3"}]],[],[]]
\ No newline at end of file diff --git a/birdie_snapshots/can_render_an_application's_initial_state_when_using_fragments.accepted b/birdie_snapshots/can_render_an_application's_initial_state_when_using_fragments.accepted new file mode 100644 index 0000000..d89dc7b --- /dev/null +++ b/birdie_snapshots/can_render_an_application's_initial_state_when_using_fragments.accepted @@ -0,0 +1,5 @@ +--- +version: 1.1.0 +title: Can render an application's initial state when using fragments +--- +<p>start fragment</p><p>middle fragment</p><p>0</p><button>-</button><button>+</button><p>order check, last element</p>
\ No newline at end of file |