I am working with leptos 0.8.23 and thaw 0.5.0-dev(main branch). While trying to do first compile, I get error: queries overflow the depth limit! and says to help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`thaw`). I tried adding that recursion_limit to the top of both my main.rs and lib.rs. No luck. No idea on how to add that line to thaw without downloading thaw and modifying it locally. The issue seems to be the thaw button. What should I do?
{
async block@<T as tachys::view::any_view::IntoAny>::into_any::resolve<tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>,
tachys::html::attribute::custom::CustomAttr<&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> &str + core::marker::Send>>>,
tachys::html::attribute::custom::CustomAttr<&str, alloc::sync::Arc<str>>
),
(
tachys::reactive_graph::owned::OwnedView<leptos::into_view::View<leptos::into_view::View<tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div, tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>,
tachys::html::event::On<tachys::html::event::mousedown, alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>,
tachys::html::node_ref::NodeRefAttr<thaw_utils::dom::element::HtmlElement, tachys::reactive_graph::node_ref::NodeRef<thaw_utils::dom::element::HtmlElement>>,
tachys::html::style::Style<(&str, &str)>,
tachys::html::node_ref::NodeRefAttr<leptos_transition_group::utils::HtmlElement, tachys::reactive_graph::node_ref::NodeRef<leptos_transition_group::utils::HtmlElement>>
),
(
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
),
(
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
),
(
leptos::into_view::View<tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::style::Style<alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>>,
tachys::html::class::Class<thaw_utils::class_list::ClassList>,
tachys::html::event::On<tachys::html::event::mouseenter,
alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>,
tachys::html::event::On<tachys::html::event::mouseleave,
lloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>
),
(
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div, tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>,
tachys::html::event::On<tachys::html::event::scroll, alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_Event::Event)>>>
),
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::style::Style<alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>>,
tachys::html::class::Class<thaw_utils::class_list::ClassList>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>
),
(tachys::view::any_view::AnyView,)>,
)>,
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>
),
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> &str + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::event::On<tachys::html::event::mousedown, alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>
), ()>,
)>,
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div, tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>
),
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> &str + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::event::On<tachys::html::event::mousedown, alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>
), ()>,
)>
),
)>>,
)>,
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(tachys::html::class::Class<alloc::sync::Arc<str>>,),
(
leptos::into_view::View<tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::style::Style<alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>>,
tachys::html::class::Class<thaw_utils::class_list::ClassList>,
tachys::html::event::On<tachys::html::event::mouseenter,
alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>,
tachys::html::event::On<tachys::html::event::mouseleave,
alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>
),
(
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>,
tachys::html::event::On<tachys::html::event::scroll,
alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_Event::Event)>>>
),
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::style::Style<alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>>,
tachys::html::class::Class<thaw_utils::class_list::ClassList>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>
),
(tachys::view::any_view::AnyView,)>,
)>,
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>
),
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> &str + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::event::On<tachys::html::event::mousedown, alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>
), ()>,
)>,
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>
),
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> &str + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::event::On<tachys::html::event::mousedown, alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>
), ()>,
)>
),
)>>,
)>,
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(tachys::html::class::Class<alloc::sync::Arc<str>>,),
(
leptos::into_view::View<tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::style::Style<alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>>,
tachys::html::class::Class<thaw_utils::class_list::ClassList>, tachys::html::event::On<tachys::html::event::mouseenter,
alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>,
tachys::html::event::On<tachys::html::event::mouseleave,
alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>
),
(
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>,
tachys::html::event::On<tachys::html::event::scroll,
alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_Event::Event)>>>
),
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::style::Style<alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>>,
tachys::html::class::Class<thaw_utils::class_list::ClassList>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>
),
(tachys::view::any_view::AnyView,)>,
)>,
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div, tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>
),
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> &str + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::event::On<tachys::html::event::mousedown, alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>
), ()>,
)>,
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Div,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Div>>
),
(
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(
tachys::html::class::Class<alloc::sync::Arc<str>>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> &str + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::style::Style<(&str, alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> alloc::string::String + core::marker::Send>>)>,
tachys::html::event::On<tachys::html::event::mousedown, alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>
), ()>,
)>
),
)>>,
)>
),
)>,
tachys::html::element::HtmlElement<tachys::html::element::elements::Div,
(tachys::html::class::Class<alloc::sync::Arc<str>>,),
(
(
leptos::into_view::View<tachys::html::element::HtmlElement<tachys::html::element::elements::Button,
(
tachys::html::class::Class<thaw_utils::class_list::ClassList>,
tachys::html::attribute::Attr<tachys::html::attribute::key::Type,
alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> core::option::Option<&str> + core::marker::Send>>>,
tachys::html::attribute::Attr<tachys::html::attribute::key::Disabled,
alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> core::option::Option<&str> + core::marker::Send>>>,
tachys::html::attribute::Attr<tachys::html::attribute::key::AriaDisabled,
alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> core::option::Option<&str> + core::marker::Send>>>,
tachys::html::event::On<tachys::html::event::click,
alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Button, tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Button>>
),
(
(
{closure@C:\REDACTED\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\thaw-0.5.0-beta\src\button\button\mod.rs:100:14: 100:21},
either_of::Either<tachys::view::any_view::AnyView, ()>
),
)>>,
leptos::into_view::View<tachys::html::element::HtmlElement<tachys::html::element::elements::Button,
(
tachys::html::class::Class<thaw_utils::class_list::ClassList>,
tachys::html::attribute::Attr<tachys::html::attribute::key::Type,
alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> core::option::Option<&str> + core::marker::Send>>>,
tachys::html::attribute::Attr<tachys::html::attribute::key::Disabled,
alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> core::option::Option<&str> + core::marker::Send>>>,
tachys::html::attribute::Attr<tachys::html::attribute::key::AriaDisabled,
alloc::sync::Arc<std::sync::poison::mutex::Mutex<dyn core::ops::function::FnMut() -> core::option::Option<&str> + core::marker::Send>>>,
tachys::html::event::On<tachys::html::event::click,
alloc::rc::Rc<core::cell::RefCell<dyn core::ops::function::FnMut(web_sys::features::gen_MouseEvent::MouseEvent)>>>,
tachys::html::node_ref::NodeRefAttr<tachys::html::element::elements::Button,
tachys::reactive_graph::node_ref::NodeRef<tachys::html::element::elements::Button>>
),
(
(
{closure@C:\REDACTED\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\thaw-0.5.0-beta\src\button\button\mod.rs:100:14: 100:21},
either_of::Either<tachys::view::any_view::AnyView, ()>
),
)>>
),
)>
),
)>>>>,
)>>::{closure#0}
}