Closed fabienjuif closed 7 years ago
Hi,
Thanks for this PR :-) If you want, you can also try this https://github.com/mrpierrot/cycle-net/tree/2.0.0 It's not yet documented ( sorry ) but this is drivers for http wit router ( like this lib ) + websocket + socket.io. You can see examples in test folder.
French Et si jamais tu viens au Dev Fest ou à NantesJS, on pourra en discuter avec plaisir :-)
Hi,
Nice work, this is funny to test CycleJS to the server side :)
I open this PR since the Router example was not working, I think you made a little mistake :
sources
are not added to parameter ofPage
component since thePage
component is called before yourRouter
handle it.I used
Object.assign
instead ofobject spread operator
because Node doesn't support them out of the box by now.My VSCode config trim spaces, maybe I can change that if you want to.