The simplest field specification function provides an immutable value based on the fact. Use it to copy a field directly from the fact into state.
{
text: field(m => m.text)
}
Or to compute the hash.
{
hash: field(m => j.hash(m))
}
Or to store the fact itself.
{
fact: field(m => m)
}