You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All clickable elements like (Button, IconButton and so on..) must have support for react-router-dom navigation.
Currently to perform navigation in utilizing projects the user is forced to use the onClick callback passing the history.push() action which is not ideal.
The desired solution would be using the to property and pass to the native MUI component a RouterLink or a Link from the react-router-dom library.
This task requires a bit of understanding on how to handle react-router-dom library inside Mosaic, whether to treat it like a dependency or as a peerDependency.
The text was updated successfully, but these errors were encountered:
All clickable elements like (
Button
,IconButton
and so on..) must have support forreact-router-dom
navigation.Currently to perform navigation in utilizing projects the user is forced to use the
onClick
callback passing thehistory.push()
action which is not ideal.The desired solution would be using the
to
property and pass to the nativeMUI
component aRouterLink
or aLink
from thereact-router-dom
library.This task requires a bit of understanding on how to handle
react-router-dom
library inside Mosaic, whether to treat it like adependency
or as apeerDependency
.The text was updated successfully, but these errors were encountered: