After transition to a Functional Component, two component properties (enableTimeTravelling, routerSelector) became required.
In the previous implementation (Class Component) this was handled by the react types since the defaultProps object contained these properties.
Now, using a Functional Component, these properties should be explicitly marked as optional to comply the previous library typing.
After transition to a Functional Component, two component properties (
enableTimeTravelling
,routerSelector
) became required.In the previous implementation (Class Component) this was handled by the
react
types since thedefaultProps
object contained these properties. Now, using a Functional Component, these properties should be explicitly marked as optional to comply the previous library typing.