Options.context in F7v6

Hi there,

I’ve just migrated an F7 project from v5 to v6, where we utilize the feature to pass context in router’s navigate method among the options - a feature which has been removed from the v6 router according to the changelog.

What is the preffered way to pass context data to a route in this case?

Thanks in advance,
Bálint

...navigate('/path/',{ props: { id: '1', name: 'name' } });
<template>
  ${props.name}
</template>
<script>
export default (props) => {
  console.log(props.id);
  return $render; 
};
</script>
2 Likes

Thanks, works as expected! :slight_smile: