* Fix wrong order of classes when reordering or adding classes in the front/middle (#926)
* Fix coding style (#926)
* Use set_attribute(class, className) for classes (#926)
This allows the various formats (e.g., CBOR) that can't be converted
in or out of Text to be used in a websocket by specifying you want to
use a binary-only connection. A text-only connection is provided for
symmetry.
This allows users to create their own encoding wrappers.
The provided documentation uses real-life examples from within yew.
This commit also fixes a minor oversight, where use of the
text_format_is_an_error macro required the end-user to explicitly use
the text_format macro instead of simply bringing it in itself.
In serde_cbor 0.9, the helper function to_vec_packed created the smallest
CBOR representation of data. When serde_cbor 0.10 was introduced, that
function was left in place and the documentation for it didn't change, but
its behavior did. Specifically, enum variants that carry data would no
longer have the variant encoded efficiently; instead it was encoded as a
String. As such, using to_vec_packed is not the way to get a compact
representation if your data contains enums which carry data.
Since there hasn't been a yew release yet that has CBorPacked in it,
this commit removes CborPacked.
This allows the various formats that can't be converted in or out of
Text to be used in the callback that a websocket will use. It also
supports the packed version of CBOR.
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
* Revert "Revert "Improve nested html! expansion by unwrapping VNodes (#820)" (#842)"
This reverts commit 70862a46
* Add minor fix to VList to conform with #820
* Add unittest for the regression bug #839
* Resolve#839 regression issue introduced by #820
* wip
* Revert "Resolve #839 regression issue introduced by #820"
This reverts commit 34dc935821cb32526c3085505649c0d70b163a13.
* Use explicit html_nested
* Remove NodeSeq from prelude
* Clean up tests
* Add list and tag tests
* Revert vtag children change
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
* Updated so boolean attributes are either there or not.
Issue #394
* Ran cargo fmt.
* Updated to remove checked and selected special handling.
* Update the attribute list to match what mdn says.
Removed deceprated attributes.
* Added back the checked special handling.