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
Since the JSON view is almost available an ship with server side route system, we can now implement a navigation system for the lenra view.
I've thinking about using the react-router system and take inspiration from it.
On the manifest, we could do something like that :
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Since the JSON view is almost available an ship with server side route system, we can now implement a navigation system for the lenra view.
I've thinking about using the react-router system and take inspiration from it.
On the manifest, we could do something like that :
Then the main widget :
And the taskList widget
The
outlet
widget just print whatever child path is matching.taskList
and an emptyoutlet
.link
widget change the navigation to "/todos/:id"taskList
and theoutlet
that now load thetaskCard
widget.If you have any other idea, please share :)
Beta Was this translation helpful? Give feedback.
All reactions