Commit graph

3573 commits

Author SHA1 Message Date
Jonathan Kelley
8c94f0bc4a
get compiling 2024-01-11 16:51:18 -08:00
Jonathan Kelley
2ae3241cc0
Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Evan Almloff
69da70fd32 make diffing a bit more resilient 2024-01-11 17:21:38 -06:00
Evan Almloff
6c29e2b825 clean up some core context APIs 2024-01-11 17:21:13 -06:00
Evan Almloff
d51b6268eb restore error boundaries in core 2024-01-11 17:20:53 -06:00
Evan Almloff
1034377a6f document ComponentFunction 2024-01-11 16:37:42 -06:00
Jonathan Kelley
4f077ec664
Merge pull request #1812 from ealmloff/duplicate-event-listener-rsx
check for duplicate event listeners in the rsx macro
2024-01-11 14:34:01 -08:00
Evan Almloff
4ef6f78657 fix duplicate listeners in the autoformat tests 2024-01-11 16:22:28 -06:00
Evan Almloff
598b557aee rename HasProps to ComponentFunction 2024-01-11 15:53:14 -06:00
Evan Almloff
b6ea395338 enable serde dependency in the html crate even if eval is disabled 2024-01-11 15:40:44 -06:00
Evan Almloff
3267ddec10 more consistent naming of the root component in core 2024-01-11 15:23:37 -06:00
Evan Almloff
7fe6e05da3 remove trybuild now that core is more safe 2024-01-11 15:21:13 -06:00
Evan Almloff
fd0a53ab63 make all core tests compile 2024-01-11 15:18:11 -06:00
Jonathan Kelley
f7bf156422
Merge pull request #1810 from DioxusLabs/jk/disambiguate-exprs-in-rsx
Disambiguate if expressions in rsx by requiring curlies, allow shorthand component/element initialization
2024-01-11 12:25:59 -08:00
Jonathan Kelley
3ef15577eb
Merge pull request #1807 from ealmloff/assets-optional
Only support manganis in the CLI
2024-01-11 12:18:24 -08:00
Jonathan Kelley
8ff13c3c1b
Fix some basic clippy stuff 2024-01-11 12:13:38 -08:00
Jonathan Kelley
1527b81e02
Components participate in event handlers 2024-01-11 12:11:27 -08:00
hem1t
8be9a7192b
using cargo.toml version (#1813)
- Replaced `CFG_RELEASE` with `CARGO_PKG_VERSION`
- No rerun on `CFG_RELEASE`
2024-01-11 13:50:23 -06:00
Jonathan Kelley
8881b8a473
Use error instead of panic for span location in rsx macro shorthand 2024-01-11 11:37:12 -08:00
Evan Almloff
a9d09d858b fix more errors in core tests 2024-01-11 12:40:36 -06:00
Evan Almloff
8d783490a0 fix the component macro when the function takes a single argument 2024-01-11 12:01:40 -06:00
Evan Almloff
bcbb647d02 fix constructing no argument components 2024-01-11 11:44:18 -06:00
Evan Almloff
1794debf79 fix components that take no arguments 2024-01-11 11:11:44 -06:00
Evan Almloff
404c864246 make the root component take no arguments 2024-01-11 10:48:04 -06:00
Evan Almloff
9b5a797008 check for duplicate event listeners in the rsx macro 2024-01-11 10:34:08 -06:00
Jonathan Kelley
aff5259654
Allow children shorthand in components 2024-01-10 23:52:38 -08:00
Jonathan Kelley
8a77d2560e
fix tests around children elements 2024-01-10 23:42:36 -08:00
Jonathan Kelley
b8061d6d14
Make clippy happy 2024-01-10 23:26:26 -08:00
Jonathan Kelley
593527d58b
fix final test 2024-01-10 23:18:47 -08:00
Jonathan Kelley
f1e8faffb5
fix tests 2024-01-10 23:17:01 -08:00
Jonathan Kelley
c5dfbd7913
fix test 2024-01-10 22:52:41 -08:00
Jonathan Kelley
fa9d92f956
Fix tests for autofmt 2024-01-10 22:41:40 -08:00
Jonathan Kelley
d9b84f9f8f
Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
Evan Almloff
8fe2515413 Merge branch 'breaking' of https://github.com/Demonthos/dioxus into breaking 2024-01-10 19:21:17 -06:00
Evan Almloff
55f76fede6 work on fixing some core tests 2024-01-10 19:21:15 -06:00
Jonathan Kelley
3bde429619
Export signals from dioxus prelude 2024-01-10 16:57:21 -08:00
Jonathan Kelley
47805461d0
Dump skip(0) 2024-01-10 16:39:40 -08:00
Jonathan Kelley
2a7f3a4164
Fix: quick tweak to allow #[component] macro working 2024-01-10 16:38:07 -08:00
Evan Almloff
4a1a00b0f0 fix dioxus ssr 2024-01-10 17:57:15 -06:00
Evan Almloff
dc58212508 fix props diffing 2024-01-10 17:13:56 -06:00
Evan Almloff
e004c1722f set the required environment variable for manganis support 2024-01-10 11:19:51 -06:00
Evan Almloff
5b2b0c43bd work on fixing ssr 2024-01-10 09:56:03 -06:00
Evan Almloff
d8e79b656b remove an extra clone 2024-01-09 14:27:25 -06:00
Evan Almloff
663296ae45 make collect-assets not optional in dioxus fullstack 2024-01-09 13:58:28 -06:00
TKirishima
48e413a4f3
fix: no project-name in argument of dx create (#1803) 2024-01-09 13:22:38 -06:00
Evan Almloff
f1b2f964c0 fix removing root nodes 2024-01-09 12:05:27 -06:00
Evan Almloff
b2860a3d73 fix diffing components 2024-01-09 11:50:41 -06:00
Evan Almloff
3545c14a38 fix formatting 2024-01-09 11:36:45 -06:00
Evan Almloff
b43dfb1f67 fix mounted information 2024-01-09 11:35:55 -06:00
Evan Almloff
967c082085 clippy fix 2024-01-09 11:02:07 -06:00