next-state-fn should be airty 1

Although this argument isn't used in replace-component! (because we are
indicating next state absolutely), we still should provide a function of
expected airty.