First of all, thanks for all the tools and development efforts, it's very much appreciated!
I came across a curious situation and it somewhat seems related to kadira:flow-router-ssr. Given a fairly simple MainNav React component, I need it to trigger an specific action when one of its links is clicked.
The expected behavior would be to console.log for each time a <a> tag is clicked. However, I have noticed that for each link pointing to a declared route (in this particular example, index and blog routes), the onClick handler is not always triggered (and I could not find a pattern for the times it is triggered):
I have suspected of an eventual issue on FlowRouter since. every <a> tag which does not point to a defined route has its handler fired upon every click.
Hello Arunoda,
First of all, thanks for all the tools and development efforts, it's very much appreciated!
I came across a curious situation and it somewhat seems related to
kadira:flow-router-ssr
. Given a fairly simpleMainNav
React component, I need it to trigger an specific action when one of its links is clicked.The expected behavior would be to![flowrouter-onclick-handler](https://cloud.githubusercontent.com/assets/190883/14639074/f3569856-0610-11e6-9d52-ab1cfd66d158.gif)
console.log
for each time a<a>
tag is clicked. However, I have noticed that for each link pointing to a declared route (in this particular example,index
andblog
routes), theonClick
handler is not always triggered (and I could not find a pattern for the times it is triggered):I have suspected of an eventual issue on FlowRouter since. every
<a>
tag which does not point to a defined route has its handler fired upon every click.Thanks for your time!