David Khourshid - Infinitely Better UIs with Finite Automata

Поділитися
Вставка
  • Опубліковано 6 лип 2024

КОМЕНТАРІ • 33

  • @wcandillon
    @wcandillon 6 років тому +28

    Thank you for bringing this topic in React!

    • @hugodsa89
      @hugodsa89 2 роки тому

      when you see a 4 years old comment by one of your favourite UA-camrs 👌🏻

    • @hugodsa89
      @hugodsa89 2 роки тому +1

      when you see a 4 years old comment by one of your favourite UA-camrs 👌🏻

    • @wcandillon
      @wcandillon 2 роки тому +1

      @@hugodsa89 haha nice 🙌🏼

  • @EmaSuriano
    @EmaSuriano 6 років тому +4

    Excellent talk!!

  • @Gruby7C1h
    @Gruby7C1h 4 роки тому +5

    This deserves way more views.

  • @SlyyL
    @SlyyL 6 років тому +4

    Very inspiring talk

  • @LosEagle
    @LosEagle 6 років тому +76

    This guy understands the pain of working with backend developers who think it's much better to just slap jquery and some basic css on frontend and leave it at that.

    • @sobreinquisidor
      @sobreinquisidor 6 років тому +7

      I used to be one of those guys until I start writing frontend code

    • @codemaster9513
      @codemaster9513 6 років тому +44

      My colleague who is a node backend developer was always praised by the boss, manger, client, etc.. for completing a feature in just 2 days. Me, a front end developer, I was blamed of taking a week to implement the same feature in front end. But one day, it happened to me to take a long leave for about a month, because my hand was fractured. During that time, that backend developer was asked to do the front end development also and he took the whole month but cannot finish. When I came back the next day, I finished it before the end of that day. I earned my front end developer respect that day. Now everyone in my office know what a frontend developer is.

    • @L-gr4dk
      @L-gr4dk 2 місяці тому

      @@codemaster9513 And then everyone clapped, am I right? ... I'll tell you my story working with frontend developers. We complete our backend work in a few hours. By the end of the week the frontend devs are still fiddling with their UI and adding more npm bloat to their SPA. One day we got so frustrated we rebuilt the whole thing with just Alpine js. It was done in 1/10th of the time and the customers were just happy they didn't have to load a 50mb React app just to read an article. Maybe if YOU knew what backend development entailed (data structures, security, performance etc) you'd know that frontend complexities are just artificial hurdles created by all those silly, pointless, bloated frameworks.

    • @habibosaye
      @habibosaye 19 днів тому

      @@codemaster9513 sorry it had to take you fracturing your hand lol

  • @codemaster9513
    @codemaster9513 6 років тому +8

    Thanks for your talk and for your excellent library "XState". With your JavaScript library and with the help of react XState library, I am working on a project to visually design the react application logic. This is extremely inspired by Unity3D's visual scripting asset library "Playmaker".

  • @mehryarkeshavarz
    @mehryarkeshavarz 4 роки тому +4

    'if it's a week old it's a legacy app'

  • @carloslfu
    @carloslfu 6 років тому +5

    LOL! Configuring Webpack xD, fortunately I use FuseBox :)

  • @jamescat2386
    @jamescat2386 6 років тому +3

    I'm struggling a bit with how it ties in with the slide at 7:19. I see the Ryan Florence and The State Machine pattern using setState in components but is this at the top level or, I mean is your concept of 'finite state' a application wide thing or do components each have their own FSM? or both? so how does it help with the problem shown in the slide if you need to somehow get state from one sibling to another without going through the parent?

    • @accionrebeldemusical5762
      @accionrebeldemusical5762 6 років тому +1

      You don't go with the bottom up approach in your child component: your state is still passed by props from the parent. But the intersection of different possibilities is reduced and pre-defined.

  • @santiagograviano9064
    @santiagograviano9064 4 роки тому

    I wonder who is talking at 2:11 (?)

  • @thejaredwilcurt
    @thejaredwilcurt 6 місяців тому +1

    It's kind of hilarious that if you go to a Vue conference and ask if developing user interfaces is easy, you'll see almost every hand go up, but you go to a React conference and ask that literally not a single hand goes up.....

  • @chudchadanstud
    @chudchadanstud 3 роки тому +1

    Not using FSM in development? what?

  • @nnslife
    @nnslife 4 роки тому +5

    Talk not clear:
    How is this better than Redux or Elm architecture?
    Redux and Elm are complete solutions while this (JSON object with static transitions) can only handle fixed/static transitions:
    what do you do if you have actual data (user-input strings, etc.)?

    • @csati
      @csati 3 роки тому +2

      Redux doesn't solve the *state management* problem. Redux solves the props-drilling problem - but after releasing the React Context API, we don't need Redux any more.

    • @blackwhattack
      @blackwhattack 3 роки тому +2

      Elm is not a solution for React. This is a React talk. I agree u can totally do the same pattern with Redux, but u use Redux for global state. Redux encourages you to put as much stuff as possible into a local state. This is where xstate comes in as it can help with component local state.

  • @ARVash
    @ARVash 5 років тому +2

    It would be even nicer if you used typescript union and sum types to represent your state transitions, no more magic strings :).

    • @linorabolini
      @linorabolini 4 роки тому

      or just a constant object with the transition names haha

  • @evanpitstick5529
    @evanpitstick5529 6 років тому +5

    Talk starts around @8:30.

    • @josephrex7766
      @josephrex7766 6 років тому +29

      No! It started at 0:05 and every bit of it was great