Apparently some new warnings are triggered by the built in behavior of dioxus. That seems undesirable π
ERROR GITDIR/dioxus/packages/core/src/properties.rs:144 It looks like you called the component App like a function instead of a component. Components should be called with braces like `App { prop: value }` instead of as a function
demo.js:449:21
Repro with dx new, false router, use dioxus local with main HEAD instead of crate (dioxus = { path = "../dioxus/packages/dioxus", features = ["web"] }), then dx serve
Expected behavior
Don't throw errors for a starter app automatically!
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Dioxus version: main
App platform: web
Questionnaire
[x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later
Problem
Apparently some new warnings are triggered by the built in behavior of dioxus. That seems undesirable π
To be clear, @ealmloff , it looks like this is from https://github.com/DioxusLabs/dioxus/pull/2461/files#diff-e6199434c34c915eed237c16bcdf8167d70272bafd878fb3c95054939c585e11R122
Steps To Reproduce
Repro with dx new, false router, use dioxus local with main HEAD instead of crate (
dioxus = { path = "../dioxus/packages/dioxus", features = ["web"] }
), then dx serveExpected behavior
Don't throw errors for a starter app automatically!
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
main
web
Questionnaire