Hello,
In https://github.com/SeasideSt/Seaside/issues/1023 I read this very promising sentence: "We should publish the examples on how to combine Seaside with React"
I would be very interested in those. ;-) I have been thinking quite a bit about how to make my Seaside application more reactive.
- Bernhard
If it works with React, it will probably will work with Vue.js too. ;-)
I recently came across this https://shift.infinite.red/phoenixs-liveview-client-side-elixir-at-last-2280... and thought about having something similar with Seaside rendering, pushing content via websockets and patching the DOM only where necessary.
Pipe dreams, maybe...
Esteban A. Maringolo
El mié., 27 mar. 2019 a las 14:54, Bernhard Pieber (bernhard@pieber.com) escribió:
Hello,
In https://github.com/SeasideSt/Seaside/issues/1023 I read this very promising sentence: "We should publish the examples on how to combine Seaside with React"
I would be very interested in those. ;-) I have been thinking quite a bit about how to make my Seaside application more reactive.
- Bernhard
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
There is something here: https://github.com/jbrichau/Seaside-SPA https://github.com/jbrichau/Seaside-SPAIt’s not where I would want it to be and the issue is there to remind me I need to continue working on that to make it sufficiently generic.
Johan
On 27 Mar 2019, at 19:03, Esteban Maringolo emaringolo@gmail.com wrote:
If it works with React, it will probably will work with Vue.js too. ;-)
I recently came across this https://shift.infinite.red/phoenixs-liveview-client-side-elixir-at-last-2280... and thought about having something similar with Seaside rendering, pushing content via websockets and patching the DOM only where necessary.
Pipe dreams, maybe...
Esteban A. Maringolo
El mié., 27 mar. 2019 a las 14:54, Bernhard Pieber (bernhard@pieber.com) escribió:
Hello,
In https://github.com/SeasideSt/Seaside/issues/1023 I read this very promising sentence: "We should publish the examples on how to combine Seaside with React"
I would be very interested in those. ;-) I have been thinking quite a bit about how to make my Seaside application more reactive.
- Bernhard
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Hi Johan,
Thanks for posting this. I managed to load it into a Pharo7 image and had a look. If you are not too busy, I would appreciate if you could answer a few questions.
The WASPACounterComponent example seems to work. This is unrelated to Seaside-ReactJS, right?
However, none of the ReactJS demos work right now, correct? I did not see any reference to the React JavaScript library in the code. However, there are references to /public/vendor.js and /public.app.js. Am I missing something?
Most importantly, what do you want to achieve with Seaside-ReactJS? Probably it is different from what I have in mind.
- Bernhard
Am 27.03.2019 um 19:36 schrieb Johan Brichau johan@inceptive.be:
There is something here: https://github.com/jbrichau/Seaside-SPA It’s not where I would want it to be and the issue is there to remind me I need to continue working on that to make it sufficiently generic.
Johan
On 27 Mar 2019, at 19:03, Esteban Maringolo emaringolo@gmail.com wrote:
If it works with React, it will probably will work with Vue.js too. ;-)
I recently came across this https://shift.infinite.red/phoenixs-liveview-client-side-elixir-at-last-2280... and thought about having something similar with Seaside rendering, pushing content via websockets and patching the DOM only where necessary.
Pipe dreams, maybe...
Esteban A. Maringolo
El mié., 27 mar. 2019 a las 14:54, Bernhard Pieber (bernhard@pieber.com) escribió:
Hello,
In https://github.com/SeasideSt/Seaside/issues/1023 I read this very promising sentence: "We should publish the examples on how to combine Seaside with React"
I would be very interested in those. ;-) I have been thinking quite a bit about how to make my Seaside application more reactive.
- Bernhard
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Thanks for the link! This is indeed very fascinating. It sounds exactly like the architecture I am after. Here is the official announcement, which describes their approach in a little bit more detail: https://dockyard.com/blog/2018/12/12/phoenix-liveview-interactive-real-time-...
Under the hood they use morphdom on the client to do the DOM diffing to calculate the minimal necessary DOM changes: https://github.com/patrick-steele-idem/morphdom
This achieves the flicker-free UI updates. In theory it should be possible to use something like this with Seaside.
Phoenix LiveView also minimizes the network traffic by compiling HTML templates and only transfering the static parts during the initial rendering. I don't think this part could be replicated with Seaside because it is component based and the rendering is done dynamically.
In order to minimize network traffic, one would have to do the DOM diffing on the server and transfer only DOM changes.
- Bernhard
Am 27.03.2019 um 19:03 schrieb Esteban Maringolo emaringolo@gmail.com:
If it works with React, it will probably will work with Vue.js too. ;-)
I recently came across this https://shift.infinite.red/phoenixs-liveview-client-side-elixir-at-last-2280... and thought about having something similar with Seaside rendering, pushing content via websockets and patching the DOM only where necessary.
Pipe dreams, maybe...
Esteban A. Maringolo
El mié., 27 mar. 2019 a las 14:54, Bernhard Pieber (bernhard@pieber.com) escribió:
Hello,
In https://github.com/SeasideSt/Seaside/issues/1023 I read this very promising sentence: "We should publish the examples on how to combine Seaside with React"
I would be very interested in those. ;-) I have been thinking quite a bit about how to make my Seaside application more reactive.
- Bernhard
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside@lists.squeakfoundation.org