home.social

#knockoutjs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #knockoutjs, aggregated by home.social.

  1. Ever since #knockoutJS popularized data-binding, there's been numerous flavors of the #Observer pattern; Object.observe(), #React state, #RxJS, now #Signals. Every time I think, it's just #CustomEvents with extra steps.

    #Events are at the core of the #JavaScript runtime; why is everyone always trying to avoid using them!?

    #webDev #frontEnd #web

  2. @cferdinandi I don’t thing the svelte team were saying it was ground breaking, they clearly reference #knockoutJS and #solidjs for their signals implementation. It is interesting how the most popular frameworks (except react) have converged to use signals. I do wonder where this is heading and if any other framework can/will knock react if it’s perch.

  3. Вот эта вот дебильная особенность react-а, что если в render() что-то происходит не так и бросается эксепшен, то react просто его подавляет и замалчивает.

    Надо объявлять метод componentDidCatch(error, info) в своём компоненте, чтоб получать перехваченные эксепшены и выводить их в консоли. Кстати, в старых версиях react-a (до 16ой версии) этот метод назывался unstable_handleError(error).

    Но мне всё равно проще всё тело оборачивать в свой try-catch-блок во время отладки.

    Knockout.js, кстати, тоже такое делает. И мне там приходилось подпиливать в исходниках, чтобы эксепшены пробрасывались насквозь.

    A вот Vue.js нормально пропускает эксепшены сквозь себя.

    #react #vuejs #knockoutjs #webdev #js

  4. Having been in webdevelopment for about 20 years now (yikes!) using stuff like , , , , and sort of fixed the issue of making webapps interactive/reactive. It always felt cumbersome though as it required a lot of different stuff to make it possible. And now we suddenly had to manage state, validation etc. on the client side as well. More work.

    But, I think I found the solution to this problem. One that reminds me of the good old days...

  5. Junior Full Stack Web Developer - The Lunarstorm team is seeking a Junior Full Stack Web Developer to become an... Lunarstorm / Guelph Ontario, Canada lunarstorm.ca/careers/ #Dev fullstack #PHP #WordPress #JS #KnockoutJS #Bootstrap #Git by @[email protected]