Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 19 10:52
    sake92 labeled #18
  • Sep 18 00:52
    scala-steward closed #196
  • Sep 18 00:52
    scala-steward commented #196
  • Sep 18 00:52
    scala-steward opened #209
  • Sep 18 00:52
    scala-steward closed #195
  • Sep 18 00:52
    scala-steward commented #195
  • Sep 18 00:52
    scala-steward opened #208
  • Sep 16 22:56
    scala-steward closed #205
  • Sep 16 22:56
    scala-steward commented #205
  • Sep 16 22:56
    scala-steward opened #207
  • Sep 13 07:06
    scala-steward closed #201
  • Sep 13 07:06
    scala-steward commented #201
  • Sep 13 07:06
    scala-steward opened #206
  • Aug 16 14:43
    scala-steward closed #199
  • Aug 16 14:43
    scala-steward commented #199
  • Aug 16 14:43
    scala-steward opened #205
  • Aug 15 09:28
    scala-steward closed #203
  • Aug 15 09:28
    scala-steward commented #203
  • Aug 15 09:28
    scala-steward opened #204
  • Jul 10 04:40
    scala-steward opened #203
Sakib Hadžiavdić
@sake92
would be cumbersombe otherwise, I think
drocsid
@drocsid
Thanks. I will have to think about AttrPair* vs named parameters after I get some sleep..
I think the * is for varargs or variable length...
Sakib Hadžiavdić
@sake92
ofc, get some sleep first! :smile:
gotta go
drocsid
@drocsid
Yeah I should probably do that... Didn't get it built quick enouf...
Sakib Hadžiavdić
@sake92
Bundles API has been changed a bit.. Moved from inheritance to case classes
now you just use with*-ers :)
Shubham Kamthania
@ikamthania
Hey @sake92 I was working on a chat like application using hepek. For dynamically rendering does hepek have any templating support or only option is to use js ?

What I need is something like

xhr map {
    render hepek component
  }

Don't wanna go scalajs route

is it possible ?
May be not since hepek is server side still asking.
Sakib Hadžiavdić
@sake92
You'd have to use JS for that
I do have plans to support ScalaJS in hepek components
when I find some time
Shubham Kamthania
@ikamthania
Ok thanks for the info. Do you have a design in mind how do you plan to do that ?
Sakib Hadžiavdić
@sake92
yeah, already have some working code
just need to separate the platform independent hepek-components
there is some stuff that relies on JSoup and other Java libraries
Shubham Kamthania
@ikamthania
is it on github yet ?
Sakib Hadžiavdić
@sake92
nope, not yet :D
not finished yet
Shubham Kamthania
@ikamthania
No problem. Count me in as a super early adopter
Sakib Hadžiavdić
@sake92
hehe, thanks :smiley:
with ScalaJS you usually use a reactive library
I tried ScalaRx but didn't like it, all those implicits and owners stuff..
It would fit nicely with Hepek also I think
Shubham Kamthania
@ikamthania
My only concern would be bundle size. I have personally seen bundle size shooting up to 8 mb in scalajs. It was using scalajs-react though so react js in itself add to it
basic scalajs app is around 60kb I think but most client libraries add a lot of unnecessary stuff
Tried laminar it stands around 400 kb optimized with a great deal of complexity to my taste
scalajs-react with all its events passing and all is way too much complexity in my opinion
Sakib Hadžiavdić
@sake92
this TODO thingy is 1.6MB fastOpt
Hepek shouldn't add much, it's just HTML..
Shubham Kamthania
@ikamthania
It doesn't that's what make it attractive. Sweet and simple
Sakib Hadžiavdić
@sake92
yeah, complexity is the biggest concern to me
Shubham Kamthania
@ikamthania
Will take a look at rescala
Sakib Hadžiavdić
@sake92
cool :)
Shubham Kamthania
@ikamthania
Do you have a timeline when you plan to release it. I am just curious how it will work.
Sakib Hadžiavdić
@sake92
not really, I should find time this week
you can play with that TODO example
instead of those Scalatags stuff there would be Hepek row, inputText etc
not that much to it :D
Shubham Kamthania
@ikamthania
Ok thanks.