I'm wondering what view router to use with Riot v4 since my usual ones don't currently support v4 and no idea when they will.
I've tried riot-router and riot-view-router but no joy as they rely on v3. What is the alternative until a v4 compat module comes about?
cheers
Any router will do. A proper router is (supposed to be) a small, rather simple, independent piece of code that calls a function per url pattern (just like server side ReST router, for instance) basically. The called function can mess with the DOM, with the riot components, generate events - whatever fit your needs.
i myself found such a basic router and improved it and i use it happily in my Riot 4 application.