* Add openidconnect authentication demo
* use_atom_ref usage to have a read/write handle on the atom
* Use default
* Code rewrite to better reflect the authentication flow
* Use the env macro instead of the build.rs to load env variables
* Add env variables
* Remove unnecessary dependency
* Add env variables to the root workspace
* Update readme
* Bump openidconnect version
* Use props to pass the client to the child components
* Code clean up
---------
Co-authored-by: Truong Tan Dat <truongt@igbmc.fr>
This commit adjusts how exprs and for loops are handled within
rsx. This is a breaking change in terms of codegen, but has
slight semantic changes as well.
Now, when exprs/for loops are allocated, they are given a temporary.
The temporary is elided to the <'a> lifetime of the bump, to satisfy
the borrow checker. This fixes issues with signals where exprs/for
loops mapping vecs out of RefCells would be caught up without a
temporary lifetime.
* Add `#[component]` attribute + system for creating component attributes + other stuff
* Delete inlineprops.rs
* Update inline_props.rs
* Cargo fmt
* Fix clippy warnings and paths in props/mods.rs
* Include where clause in `#[inline_props]` output
* Allow Clippy type complexity in `LinkProps`
* Allow the type complexity lint for the entire link.rs file
* Remove snake_case -> PascalCase converter, but rather enforce PascalCase
Also:
- Put the second function inside the main one instead of besides it.
- Simplify
* Simplify type check lints so they don't return false positives
They will not always work, but they won't return any false positives, like for aliases. This is likely going to be replaced by a more polished Clippy-backed linting system.
* Fix#583
* Cargo fmt
* Add docs for `deserialize()` and remove useless comment
* Add `#[component]` to prelude
* Merge branch 'master' of https://github.com/tigerros/dioxus
* #[inline_props] is no more. Except in the docs folder, but that's going to be removed
* Remove docs folder
* Remove docs from workspace
* Resolve `DeserializerOutput` conversation
* fix a few new clippy lints
* Add query segment example
* Add trait documentation
* Change core package to root package
The core package contains the virtual dom implementation ([here](https://github.com/DioxusLabs/dioxus/tree/master/packages/core)). Root package might be a more clear way to refer to the main directory
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
* Update tailwind example to work with multi-page apps
Use the absolute path to `tailwind.css` so the example works with multi-page apps. Without this change, the style disappears on page reload.
* Update tailwind Dioxus.toml to use absolute path for tailwind.css