1

Is there anybody out there who likes Funcional programing, does frontend but feels like Single page application is not often needed ? what do you use to make dynamic parts with ? callbag ? direct dom manipulation ? alpinejs ?

Comments
  • 5
    Wait what are you even asking?
  • 1
    @100110111 Sorry for confusing question. Premise is that based on JAM stack or pre compiled websites with statick site generators you have 80percent of what you need for website. Now the only part missing is some dynamic parts. I favor funcional programing and I am looking for some simple low overhead go to library to do those leftower parts. So my question is what do you use for small js funcionality in the browser ? or do you all use react or jquery ?
  • 1
    @danielstaleiny somehow kinda needed that premise, but you are still confusing the hell out of me.
  • 0
    @100110111 what do you use for your frontend ? Do you use framework all the way or do you use something else as well ? I am interested in that something else.
  • 0
    @100110111 I think he wants to know if there's some sort of lightweight library that helps you accomplish some reactivity without the need for a full fledged framework like react or whatever.
  • 0
  • 0
    There is elm but.... heh not that great
  • 0
    I mean if you want to go all in with fp in frontend, there’s Fable + Elmish (compiles to JS) or even Bolero (WASM) - but that’s going outside the JS world to a better place, and I got the feeling this is not what we are after here? RxJS is probably what OP wants, maybe?
  • 1
    @100110111 I want to know what technology are people happy with. My end game is Purescript, but I am keeping my options open for simple js alternatives. (for clients, I might not be able to use purescript). So I am looking for options.
  • 0
    Plain old server side templates with a few sparkles of js. Basically the rails (read: dhh) preferences.

    Need something fancy? Maybe hotwire or livewire depending on stack.

    Not sufficient? Inertia.js?

    Maybe NuXT?

    Oh, mobile app too? Well react & react native.

    That's basically my thought process.
    Unless a specific stack is requested.
  • 0
    @lotd thanks, will check it out.
  • 0
    Prolly Elixir/Phoenix + LiveView
Add Comment