ealmloff
cfd62e274e
Make deprecated use router ( #1260 )
...
* make router props expansion better
* fix router data fields
* make a deprecated use_router hook
2023-07-27 10:32:23 -07:00
Evan Almloff
5f0dd3af3e
it almost lives?
2023-07-25 18:14:48 -07:00
Evan Almloff
61dc549ba1
Make new enum router less breaking
2023-07-24 11:57:56 -07:00
Evan Almloff
61e9fd9973
use :.. instead of :...
2023-07-18 16:34:27 -07:00
Evan Almloff
07446386e6
fix external router examples
2023-06-01 14:10:33 -05:00
Adrian Wannenmacher
90c7e22f8b
actually make clippy happy
2023-04-12 20:19:01 +02:00
Adrian Wannenmacher
053dc6fa3e
rustfmt
2022-12-16 12:08:52 +01:00
Adrian Wannenmacher
5c1915990b
update router examples
2022-12-16 11:55:20 +01:00
Jonathan Kelley
4eefc3f854
chore: rename all &cx to cx, make clipppy happy
2022-12-07 13:11:40 -08:00
Jonathan Kelley
3c19def550
chore: get create working and simplify dynamic nodes
2022-11-30 11:24:13 -05:00
Jon Kelley
d9546d9504
Renderers are now packages, not features. ( #387 )
...
* feat: use synchronous router design
* feat: function to get router out of dom
* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Jonathan Kelley
35b22923b2
fix: some examples
2022-03-05 15:25:09 -05:00
Jonathan Kelley
c7627f0b93
fix: tests pass
2022-03-04 13:16:37 -05:00
Jonathan Kelley
1d964c54e5
chore: fix cargo fmt
2022-01-24 19:54:27 -05:00
Jonathan Kelley
26ada2c7c1
chore: make clippy happier
2022-01-24 19:52:12 -05:00
Dave Rolsky
e06eac1ce5
More WIP router implementation
2022-01-13 12:26:49 -06:00
Jonathan Kelley
bd341f5571
fix: tests
2022-01-05 17:30:12 -05:00
Jonathan Kelley
cafb7df736
docs: remove all usages of static closure syntax and update readme
2022-01-02 18:35:38 -05:00
Jonathan Kelley
d1560450ba
wip: remove runner on hook and then update docs
2022-01-02 02:15:04 -05:00
Jonathan Kelley
3dc0e59876
fix: readme and examples syntax
2021-12-28 23:48:25 -05:00
Jonathan Kelley
cda759c659
examples: upgrade to new version of dioxus core.
...
also add the inline_props macro
2021-12-25 17:18:05 -05:00
Jonathan Kelley
4de16c4779
docs: update local examples and docs to support new syntaxes
2021-12-15 15:56:53 -05:00
Jonathan Kelley
1e4a599d14
wip: rename fc to component
2021-12-09 21:19:31 -05:00
Jonathan Kelley
fd93ee89c1
feat: upgrade syntax
2021-11-10 17:09:52 -05:00
Jonathan Kelley
1e6e5e611b
wip: move examples around
2021-11-03 15:13:50 -04:00
Jonathan Kelley
70cd46dbb2
docs: move around examples
2021-06-17 18:00:32 -04:00
Jonathan Kelley
b9ff95fa12
wip: start moving events to rc<event>
2021-06-16 23:37:55 -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
4c8130c4e4
Feat: about to consolidate context and scope
2021-05-17 17:59:10 -04:00
Jonathan Kelley
2e626aea51
Feat: first work for rsx vscode ext
2021-01-26 14:02:35 -05:00
Jonathan Kelley
4dcfe66253
Feat: update spelling and changes to cli
2021-01-20 12:12:48 -05:00
Jonathan Kelley
4d7ac5bb5d
Feat: dioxus frontend crate
2021-01-20 12:04:27 -05:00