innerself icon indicating copy to clipboard operation
innerself copied to clipboard

Possible to add routing?

Open wrick17 opened this issue 8 years ago • 5 comments

Like something similar to react-router? Or some guidance as to how to achieve something similar.

wrick17 avatar Sep 08 '17 20:09 wrick17

I'll have to look into it. So far, the use-case I built innerself for didn't require routing. Feel free to share your thoughts about how this could work! :)

stasm avatar Sep 09 '17 11:09 stasm

If it only had a router, it should be great stack for building lightweight and superfast webapps or websites like portfolios or blogs. I'm trying to make a barebones router for this purpose. I'll share my work if I get it to work. Innerself seemed to be the perfect candidate for small odd jobs.

wrick17 avatar Sep 09 '17 17:09 wrick17

I gave routing a shot and for now a basic happy flow seems to work fine. Put up my work in my repo in case anyone's interested.

PS: Sorry for the crappy UI and a lot of hasty coding.

wrick17 avatar Sep 09 '17 20:09 wrick17

@wrick17 This is quite amazing, well done! I'll take a deeper dive tomorrow.

stasm avatar Sep 09 '17 21:09 stasm

@stasm Cool!!

wrick17 avatar Sep 10 '17 04:09 wrick17