Fixing this warning when I try to compile
warning: function `App` should have a snake case name
--> src/main.rs:7:4
|
7 | fn App(cx: Scope) -> Element {
| ^^^ help: convert the identifier to snake case: `app`
|
= note: `#[warn(non_snake_case)]` on by default
Also changing edition from 2018 to 2021