Closed Guria closed 9 years ago
Yeah, this is a good idea :-) It is specific to react though. Would suggest we put this on the cerebral-react
package.
<Link />
is cerebral-react
part of course. But, an url should be extracted from router/signal somehow.
symmetrical directive for angular would also useful
Yeah, hm, have to figure out a good way to do this :-) Probably the signal will just get a new property that is the url it is bound to. But yeah, will solve this. Very nice suggestion indeed!
Added to next release issue: https://github.com/christianalfoni/cerebral-router/issues/44
We should be able to make traditional links based on routing config since it allows to use
rightClick + copy
orrightClick + open in new tab
actions.It could be achieved with method to get url from signalName and parameters. So it would be able to create something like
Link
component @jeroenverfallie mentioned in #14 and without extra router configurationwhich will render to