Jonathan Kelley
305ff919ef
Feat: ensure mutabality is okay when not double-using the components
2021-03-12 16:58:30 -05:00
Jonathan Kelley
b3c96a5996
Feat: props now autoderives its own trait
2021-03-12 15:41:36 -05:00
Jonathan Kelley
d4f1ceaffb
feat: somewhat working with rc and weak
2021-03-12 14:27:32 -05:00
Jonathan Kelley
ec801eab16
wip: foregin eq from comparapable comp type.
...
This commit adds the framework for "comparable components". This allows
complete sealing of bump-allocated properties types, and a comparison method
that performs a "safe" cast without transmute. This lets us completely erase types
but still be able to perform partialeq over render frames
2021-03-12 13:03:37 -05:00
Jonathan Kelley
5ad81885e4
wip: staticify?
2021-03-11 12:27:01 -05:00
Jonathan Kelley
78d093a945
FIx: cargo fix to clean up things
2021-03-10 19:42:31 -05:00
Jonathan Kelley
29751a4bab
Feat: implement vcomp fully
2021-03-10 19:42:10 -05:00
Jonathan Kelley
5abda91892
Feat: add some docs
2021-03-10 19:24:45 -05:00
Jonathan Kelley
ddaa55a04a
Merge pull request #2 from jkelleyrtp/jk/dyn_scope
...
Implement props
2021-03-09 14:46:29 -05:00
Jonathan Kelley
8fcd001677
Feat: update component so build passes
2021-03-09 14:46:00 -05:00
Jonathan Kelley
37f5a7ad33
Feat: wire up props macro
2021-03-09 14:45:52 -05:00
Jonathan Kelley
7158bc3575
Feat: revert FC changes (like the old style).
...
This commit reverts to the old style of props + FC. The old style is desirable
because people comfortable with react can automatically be comfortable with
dioxus. It's also nice in that the same props can be used to drive two different
components - something the trait version couldn't do. Now, our trait bound forces
implementations to have the #[derive(Props)] flag. This will need to implement the
Properties trait as well as PartialEq (using ptr::equal for closure fields).
2021-03-09 00:58:20 -05:00
Jonathan Kelley
55a5541dba
WIP: some docs
2021-03-08 14:09:18 -05:00
Jonathan Kelley
92d9521a73
WIP: remove FC
2021-03-07 21:28:20 -05:00
Jonathan Kelley
e44639954e
Merge pull request #1 from jkelleyrtp/jk/dyn_scope
...
Feat: move to dyn Scope for arena
2021-03-05 20:02:06 -05:00
Jonathan Kelley
3740f81383
WIP: still a bit stumped on DFS vs BFS
2021-03-05 15:02:36 -05:00
Jonathan Kelley
89f2290692
feat: dyn scope
2021-03-04 23:57:25 -05:00
Jonathan Kelley
8dc26195e2
Feat: it's awersome
2021-03-04 19:20:55 -05:00
Jonathan Kelley
d9598066c2
Feat: yeet, synthetic somewhat wired up
2021-03-04 18:40:05 -05:00
Jonathan Kelley
3087813570
Feat: synthetic events wired up (ish)
2021-03-04 18:12:24 -05:00
Jonathan Kelley
808e6570d2
Feat: see if readme works in examples
2021-03-04 13:56:32 -05:00
Jonathan Kelley
bdd6be309e
Feat: notes on safety, and inline listeners
2021-03-04 13:49:18 -05:00
Jonathan Kelley
c70652a3c9
Feat: cleanup edit module
2021-03-04 12:38:53 -05:00
Jonathan Kelley
5a9155b059
Feat: more cleanup
2021-03-04 12:03:22 -05:00
Jonathan Kelley
cf16090838
Feat: add context to builder
2021-03-03 23:06:11 -05:00
Jonathan Kelley
fcd68e61d2
Feat: listeners now have scope information
2021-03-03 11:13:46 -05:00
Jonathan Kelley
cb74d70f83
wip: broken, but solved
2021-03-03 02:27:26 -05:00
Jonathan Kelley
879e107634
wip: use_reducer
2021-03-02 02:27:07 -05:00
Jonathan Kelley
9237d02cf2
Feat: update docs a bit
2021-03-02 01:47:27 -05:00
Jonathan Kelley
f225030506
Feat: accept closures directly in handler
2021-03-02 01:24:53 -05:00
Jonathan Kelley
07f671c8e1
Fix: bug that phantom triggered events
2021-03-02 00:21:11 -05:00
Jonathan Kelley
4b8e9f4a12
Feat: wowza got it all working
2021-03-02 00:14:28 -05:00
Jonathan Kelley
da00df6688
Feat: parse custom rsx syntax
2021-03-01 22:55:20 -05:00
Jonathan Kelley
114a446c0a
Feat: clean up readme
2021-03-01 00:18:05 -05:00
Jonathan Kelley
ffaf687896
Feat: update readme and examples
2021-03-01 00:16:48 -05:00
Jonathan Kelley
c8bb392cad
Feat: view -> render
2021-02-28 21:21:17 -05:00
Jonathan Kelley
10a236fc65
Feat: add webview as package
2021-02-28 17:40:40 -05:00
Jonathan Kelley
505fcba7df
bump core version
2021-02-28 17:40:02 -05:00
Jonathan Kelley
6fabd8ccc8
bump core version
2021-02-28 17:38:48 -05:00
Jonathan Kelley
4997976261
bump core version
2021-02-28 17:38:05 -05:00
Jonathan Kelley
6a7bf3f964
add core macro crate
2021-02-28 17:37:17 -05:00
Jonathan Kelley
c09b71f473
Chore: add in style crate, and abort any styligng
2021-02-28 17:36:48 -05:00
Jonathan Kelley
9dcee01b33
Chore: remove html crate
2021-02-28 17:30:10 -05:00
Jonathan Kelley
c32a6ef7fe
add core macro crate
2021-02-28 17:25:40 -05:00
Jonathan Kelley
9f49ecbd95
add core macro crate
2021-02-28 17:24:57 -05:00
Jonathan Kelley
422d5ac5af
Feat: bump version for web release
2021-02-28 17:24:06 -05:00
Jonathan Kelley
ab655eac97
Feat: update and prep for dioxusweb
2021-02-28 17:22:23 -05:00
Jonathan Kelley
3b30fa61b8
Feat: a few bugs, but the event system works!
2021-02-28 03:08:08 -05:00
Jonathan Kelley
2041c88d07
Feat: patch to diff to allow scopes
2021-02-27 22:52:32 -05:00
Jonathan Kelley
e840f472fa
WIP: moving to CbIdx as serializable event system
2021-02-27 11:43:28 -05:00