From 0.1.0 to 0.2.0
Removal of Context
and Job
Agents
The Context
and Job
Agents have been removed in favour of Yew's Context API.
You can see the updated pub_sub
which demonstrate how to use the context API.
For users of yew_agent::utils::store
, you may switch to third party solutions like: Yewdux or Bounce.
Threaded
has been separated into PublicAgent
and PrivateAgent
Replace use yew_agent::Threaded;
with use yew_agent::PublicAgent;
.
備註
Threaded
was never implemented for Private Agents.
All existing web worker-based agents are Public Agents.