Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3 proposal #2982

Open
wants to merge 70 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
c947ba6
Enable ES2015 lint and minifier code gen support
dead-claudia Sep 26, 2024
d252b40
Optimize generated IIFE slightly
dead-claudia Sep 26, 2024
73a3e86
Add keyed perf tests, assert no duplicates in keyed fragments
dead-claudia Sep 26, 2024
d0cc706
Add duplicate key check, deduplicate code, use ES6
dead-claudia Sep 26, 2024
b160a35
Normalize xlink, simplify attrs update a bit
dead-claudia Sep 26, 2024
f9c6e2c
Drop `m.trust` support
dead-claudia Sep 26, 2024
ef0ccbf
Drop object component support
dead-claudia Sep 27, 2024
1da9a6a
`key` attr -> `m.key(...)`, drop `domSize`, remove redundancy
dead-claudia Oct 2, 2024
f79bb20
Use the `.state` property for keys
dead-claudia Oct 2, 2024
c0d5898
Move the DOM event listener to `vnode.instance`
dead-claudia Oct 2, 2024
777542f
Move state object creation to hyperscript
dead-claudia Oct 2, 2024
bd9f393
Move `m.render` out of initialization closure
dead-claudia Oct 2, 2024
630ee9b
Drop `m.request`
dead-claudia Oct 3, 2024
64f9587
Migrate `m.buildPathname` to `m.p` and remove the path params argumen…
dead-claudia Oct 3, 2024
a483ea0
Add a `m.withProgress` to replace `onprogress` with `fetch`.
dead-claudia Oct 3, 2024
39fdb30
Have `m.mount` mount a view function rather than a full component
dead-claudia Oct 3, 2024
3477794
Drop a couple forgotten tests
dead-claudia Oct 3, 2024
518daf7
Add lazy loader
dead-claudia Oct 3, 2024
e6af29e
Toss the "route" part of the router
dead-claudia Oct 3, 2024
82fc993
Merge `Vnode` with the hyperscript module
dead-claudia Oct 3, 2024
ee40de5
Rename and move lone remaining `pathname` submodule to make more sense
dead-claudia Oct 3, 2024
a454328
Drop remaining reference to `assign`
dead-claudia Oct 3, 2024
df363e5
Merge query string building into `m.p`, drop unused query string parser
dead-claudia Oct 3, 2024
26d71a1
Normalize the callback style in `test-p.js`.
dead-claudia Oct 3, 2024
bfb35f9
Make the event dictionary a proper class
dead-claudia Oct 3, 2024
038cbce
Finish ES6ifying hyperscript factories
dead-claudia Oct 3, 2024
bb8e4b4
Drop stale recycling tests
dead-claudia Oct 3, 2024
1ec7ddc
Add `m.tracked` utility for tracking delayed removals
dead-claudia Oct 3, 2024
48933cb
Make `m.lazy` not a higher-order factory - it doesn't need to be one
dead-claudia Oct 3, 2024
9bf6d1f
Drop `onbeforeremove`
dead-claudia Oct 3, 2024
e3edcc3
`onbeforeremove` -> `m.retain()`
dead-claudia Oct 4, 2024
73a0d32
Re-duplicate children
dead-claudia Oct 4, 2024
c3333c6
Drop `handleEvent` method support, wait for promises in event listeners
dead-claudia Oct 4, 2024
c8e48cd
Revise a comment
dead-claudia Oct 4, 2024
df0eaeb
Drop `oninit`, replace all remaining lifecycle methods with `m.layout`
dead-claudia Oct 4, 2024
b0419a6
Drop old vnode state stuff except for components
dead-claudia Oct 4, 2024
1d9f287
Add `m.init` and `m.use` convenience utilities, simplify fragments, f…
dead-claudia Oct 4, 2024
bf21066
Migrate components to simple functions and closures
dead-claudia Oct 4, 2024
91695c6
Drop `m.fragment`, try to create attrs object less in hyperscript fac…
dead-claudia Oct 4, 2024
618b335
Stop propagating hooks, correct the circular rendering check
dead-claudia Oct 4, 2024
eebab6c
Improve perf tests
dead-claudia Oct 5, 2024
4a29a67
Simplify the keyed diff fuzzer
dead-claudia Oct 5, 2024
9331d49
Simplify the renderer, strip outdated and redundant tests, reject reu…
dead-claudia Oct 5, 2024
0dad38c
Split code + tests, move source into dedicated directory
dead-claudia Oct 5, 2024
34588d1
Redo build and pack system, simplify a few remaining bits
dead-claudia Oct 5, 2024
e2c51b3
Knock out all the intermediate closures, do a better job cleaning up,…
dead-claudia Oct 6, 2024
2ad80c7
Try to get a better profile view
dead-claudia Oct 6, 2024
1836602
Improve bundle size, move to type masks to boost performance
dead-claudia Oct 11, 2024
183cc6f
Switch from `m.layout` signal out `m.remove`, merge create/update cal…
dead-claudia Oct 11, 2024
93dc6df
Add context, migrate router to use it
dead-claudia Oct 11, 2024
c2b6820
Rearrange tests to mirror source
dead-claudia Oct 11, 2024
a047b30
Optimize stream, remove deprecated bit, simplify `combine`
dead-claudia Oct 11, 2024
6da068b
Move `redraw` to an options bag
dead-claudia Oct 11, 2024
6ff0edc
Move router functions to arrow functions to save a little space
dead-claudia Oct 11, 2024
d63ed0f
`undefined` -> `null` to save a few bytes
dead-claudia Oct 12, 2024
4d5904c
Add bi-edge debouncing + throttling rate limiters
dead-claudia Oct 12, 2024
f3a6f9a
Stub out error handling
dead-claudia Oct 12, 2024
d741b3d
Fix stray outdated benchmark reference
dead-claudia Oct 12, 2024
d6b6bda
Add ops per sec counter
dead-claudia Oct 12, 2024
c196356
Optimize error handling
dead-claudia Oct 12, 2024
2aab01d
Ensure `is` is always set in custom elements
dead-claudia Oct 12, 2024
94ed948
Normalize the render vnode input to a single unitary vnode, not an array
dead-claudia Oct 12, 2024
374729d
Clean up the router on remove, remove unneeded hashchange event
dead-claudia Oct 12, 2024
ab0a28d
Remove the no-longer-necessary options parameter to `{add,remove}Even…
dead-claudia Oct 12, 2024
33a13cc
Diff final URL before redrawing, to prevent unnecessary redraws
dead-claudia Oct 12, 2024
cad3725
Allow building query strings independently of paths (again)
dead-claudia Oct 12, 2024
024150a
Restore current size
dead-claudia Oct 12, 2024
c13a7f6
Update the copy a bit, drop official IE support
dead-claudia Oct 12, 2024
6e50918
Stop displaying size in the README
dead-claudia Oct 12, 2024
472e59e
Forgot to port the actual key assignment over in the benchmark
dead-claudia Oct 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@
/.eslintcache

# These are artifacts from various scripts
/mithril.js
/mithril.min.js
/stream/stream.min.js
/dist
231 changes: 0 additions & 231 deletions .eslintrc.js

This file was deleted.

Loading