Minor Changes
-
#3727
5fb3c68
Thanks @Andarist! -exports
field has been added to thepackage.json
manifest. It limits what files can be imported from a package - it's no longer possible to import from files that are not considered to be a part of the public API. -
#4265
1153b3f
Thanks @davidkpiano! - FSM-related functions have been removed. -
#4748
d73ac8e48
Thanks @Andarist! - ThecreateService(machine)
hook has been removed; use theuseActorRef(logic)
hook instead. -
#4748
d73ac8e48
Thanks @Andarist! - ThefromActorRef(actorRef)
has been added. You can use it to get an accessor for reactive snapshot of any existingactorRef
. -
#4748
d73ac8e48
Thanks @Andarist! - TheuseActor
hook accepts an actorlogic
now and not an existingactorRef
. It's used to creating a new instance of an actor and it works just likeuseMachine
used to work (useMachine
is now just an alias ofuseActor
).