Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
00:00 Pe_Elle left 00:03 guifa joined 00:30 Pe_Elle joined 01:33 Pe_Elle left 01:56 Pe_Elle joined 02:01 Pe_Elle left 02:31 Pe_Elle joined 03:36 Pe_Elle left 03:58 Pe_Elle joined 05:02 Pe_Elle left 05:22 Pe_Elle joined 05:27 Pe_Elle left 05:43 Pe_Elle joined 06:42 Pe_Elle left 06:57 Pe_Elle joined 07:51 lizmat joined 08:27 sena_kun joined 08:34 Pe_Elle left, Pe_Elle joined 09:09 Pe_Elle left 09:19 Pe_Elle joined 09:22 lizmat left 09:24 Pe_Elle left 09:54 Pe_Elle joined 10:59 Pe_Elle left 11:28 Pe_Elle joined 11:33 Pe_Elle left
patrickb There is a test failure in cro-tls, probably related to a bug in the rakudo supply impl. I'll try to create a usable bug report and then proceed with the release. 11:38
I've become reluctant to spend unreasonable amounts of time on fixing bugs prior to finishing the debugger I'm working on. 11:39
11:48 Pe_Elle joined 12:48 Pe_Elle left 13:01 Pe_Elle joined 14:03 Pe_Elle left 14:46 guifa left, Pe_Elle joined, guifa joined 14:57 Pe_Elle left 15:17 Pe_Elle joined 15:19 sena_kun left 15:21 sena_kun joined 16:21 Pe_Elle left 16:26 Pe_Elle joined 16:30 Pe_Elle left 16:45 Pe_Elle joined
librasteve SmokeMachine: we have been on parallel paths (crotmp // functional) for a couple of weeks. Frankly I needed to take some time to flesh out my idea of what functional web components done in raku should look like. I am pleased to say that I have got my first proper example done and would like to use that to see if we can reintegrate our component efforts. There is a long form of this message at my example repo here 16:48
github.com/librasteve/raku-Cro-Web...tree/main. Please can you review when you get a chance and then we can maybe discuss a way forward?
16:53 sena_kun left, sena_kun joined 16:56 sena_kun left 16:57 sena_kun joined 17:25 lizmat joined 17:45 Pe_Elle left 18:14 Pe_Elle joined 18:19 Pe_Elle left 18:31 lizmat left 18:34 Pe_Elle joined
SmokeMachine librasteve: I’m still rereading it (I need to be sure I understood everything), but I have some points… 18:41
React hooks are more related to how to manage states than to how to “define” the html… even with hooks, you continue using jsx to define the html… 18:45
18:45 lizmat joined
SmokeMachine About functional programming: one of the main aspects of functional programming is being declarative, in that matter, I would say crotmp could already be considered functional programming 18:48
Currently Cromponent creates a Str method with its RENDER method return already compiled using Cro template engine. So, if you use your HTML::Functional to create html template, it will work with no integration needed… 18:54
You could also, just have a class where on the Str method you return HTML (using HTML::Functional), that if on a template, you use it like: `<&HTML(.your-object)>` it would already work as a component… 18:59
Your Person model could have a `^populate` meta method to be used to populate it with the default values, ex: github.com/FCO/Red/blob/b1f7118468...ce.pm6#L23 and github.com/FCO/Red/blob/b1f7118468...kutest#L17 19:08
librasteve thanks for taking the time to read and propose a way forward - it sounds like a good step for me to rebase my project onto Cromponent latest - I'll let you know how I get on... 19:34
19:36 Pe_Elle left 19:48 Pe_Elle joined 19:53 Pe_Elle left 20:23 Pe_Elle joined 20:27 Pe_Elle left 20:43 Pe_Elle joined 20:48 Pe_Elle left 21:28 Pe_Elle joined 21:35 sena_kun left 22:32 Pe_Elle left
SmokeMachine About css, I don’t think the way to create components should mandate how to create/use css… it could/should have facilitators, but not force including anything… 22:37
23:01 Pe_Elle joined 23:06 Pe_Elle left 23:48 Pe_Elle joined