Commit graph

16 commits

Author SHA1 Message Date
Jonathan Kelley
93d4b8ca7c wip: some docs and suspense 2021-11-23 15:53:57 -05:00
Jonathan Kelley
95bd17e38f wip: more raw ptrs 2021-11-05 18:02:44 -04:00
Alexandre Kirszenberg
5747e00b27 Various typos/grammar/rewording 2021-10-24 19:30:36 +02:00
Jonathan Kelley
8b3ac0b57c perf: remove global allocation for props 2021-09-13 00:59:08 -04:00
Jonathan Kelley
927b05f358 wip: cleanup public apis 2021-08-27 09:40:04 -04:00
Jonathan Kelley
d618092e9d feat: a new vnode type for anchors 2021-07-29 18:04:09 -04:00
Jonathan Kelley
6084fbcd11 wip: move to slab 2021-07-23 17:03:51 -04:00
Jonathan Kelley
7102fe5f98 docs: add some more sources in the core implementation 2021-06-21 01:35:12 -04:00
Jonathan Kelley
508c560320 Feat: massive changes to definition of components
This change switches back to the original `ctx<props>` syntax for
commponents. This lets lifetime elision to remove the need to match
exactly which lifetime (props or ctx) gets  carried to the output. As
such, `Props` is currently required to be static. It *is* possible to
loosen this restriction, and will be done in the future, though only
through adding metadata about the props through the Props derive
macro. Implementing the IS_STATIC trait is unsafe, so the derive macro
will do it through some heuristics.

For now, this unlocks sharing vnodes from parents to children, enabling
pass-thru components, fragments, portals, etc.
2021-06-01 18:33:15 -04:00
Jonathan Kelley
c5089ba3c5 wip: more progress on parity docs.
Placeholders in the rsx macro for future features.
2021-05-28 12:56:21 -04:00
Jonathan Kelley
305ff919ef Feat: ensure mutabality is okay when not double-using the components 2021-03-12 16:58:30 -05:00
Jonathan Kelley
c8bb392cad Feat: view -> render 2021-02-28 21:21:17 -05:00
Jonathan Kelley
edbb33b2ee Feat: implememt nodes better 2021-02-07 19:14:04 -05:00
Jonathan Kelley
62d4ad5878 wip: comment out examples and move lifetime in FC type 2021-02-03 14:07:07 -05:00
Jonathan Kelley
07341d2c65 Feat: include the helper 2021-02-03 02:26:04 -05:00
Jonathan Kelley
2b9c8d09d9 Feat: docs, code frm percy 2021-01-14 02:56:41 -05:00