• _developit Profile Picture

    Jason Miller 🦊⚛ @_developit

    3 years ago

    Just so it doesn't get buried: we built Signals for Preact, but it works in React too - even the fancy granular text updates! Just import the @preact/signals-react package. github.com/preactjs/signa…

    _developit tweet picture

    29 59 542 0 54
    Download Image
  • devongovett Profile Picture

    Devon Govett @devongovett

    3 years ago

    @_developit 😱😱😱

    devongovett tweet picture

    5 2 85 0 1
    Download Image
  • TheSeaMouse Profile Picture

    Hassan Hayat 🔥 @TheSeaMouse

    3 years ago

    @_developit Oh wow, to think one day I would see elm in react. I'll definitely need to play around with this

    0 0 1 0 0
  • oleg008 Profile Picture

    Oleg | webstudio.is @oleg008

    3 years ago

    @_developit Looking nice, is it already working with all the SSR stuff and suspense?

    1 0 1 0 0
  • DanShappir Profile Picture

    Dan Shappir 🎗️ host on @JSJabber podcast @DanShappir

    3 years ago

    @_developit Kind of going behind React's back, aren't you? 😁

    0 0 1 0 0
  • jkup Profile Picture

    Jon Kuperman @jkup

    3 years ago

    @_developit Glad you re-shared! I missed the initial launch!!

    0 0 1 0 0
  • donavon Profile Picture

    west, donavon west™️ @donavon

    3 years ago

    @_developit Will multiple instances of Counter maintain their own count values?

    0 0 1 0 0
  • NFS__21 Profile Picture

    Nafees Nazik @NFS__21

    3 years ago

    @_developit Does the granular updates work while combined with Context API ?

    1 0 9 0 0
  • heyitsarpit Profile Picture

    arpit @heyitsarpit

    3 years ago

    @_developit how is it able to do granular updates in react?

    1 0 5 0 0
  • NoWizardry Profile Picture

    Beez Knees @NoWizardry

    3 years ago

    @_developit I love this

    0 0 2 0 0
  • abiiranathan Profile Picture

    Dr. Abiira Nathan @abiiranathan

    3 years ago

    @_developit Nice. Maybe rename preact to postreact!

    0 0 2 0 0
  • jidefr Profile Picture

    Jidé ✨ @jidefr

    3 years ago

    @_developit Wait, what ?

    1 0 1 0 0
  • SgtPooki Profile Picture

    Russell Dempsey @SgtPooki

    3 years ago

    @_developit I love the interface of signals. Extremely simplistic and to the point. `signal, computed, effect, batch` all communicate exactly what they do in the context of a signal. I feel like we finally have a reactive-data-library that’s easy to use and much more simple than rxjs

    0 0 1 0 0
  • ecyrbedev Profile Picture

    ecyrbe @ecyrbedev

    3 years ago

    @_developit Are signals hooks bound to react hooks rules ? Or did you manage to also get rid of them too?

    0 0 1 0 0
  • aeid1992 Profile Picture

    Ahmed Eid 🇵🇸 @aeid1992

    3 years ago

    @_developit since signals are not actual 'values' and seem to be just JSX. this has a lot of caveats, for example a signal without the `.value` is always truthy so you can't use it with ternaries for example.

    2 0 1 0 0
  • alexparish Profile Picture

    alexparish @alexparish

    3 years ago

    @_developit Impressive! Are the performance benefits when applied to React similar to those of the Preact implementation?

    1 0 1 0 0
  • nanxiaobei Profile Picture

    南小北 @nanxiaobei

    3 years ago

    @_developit 试了一下,React 版本只支持元数据比如 signal(0),但不支持 signal({ count: 0 })(嗯符合预期,这样的话,似乎用处不大 ... 要知道当时为了让 github.com/nanxiaobei/sol… 支持对象和数组,我可是费了老鼻子劲了,即使那样还是有些边界情况难以处理

    0 0 1 0 0
  • _BrianKimball Profile Picture

    Brian @_BrianKimball

    3 years ago

    @_developit sweet. One of the things Vue did was introduced ref "sugar" where you don't have to use .value

    0 0 0 0 0
  • VitLolik Profile Picture

    Vitaliy Berekchiyan @VitLolik

    3 years ago

    @_developit Nice! And what about unit tests for Counter component? We want an example🙂

    0 0 0 0 0
  • petertjmills Profile Picture

    Peter Mills? @petertjmills

    3 years ago

    @_developit So this is gonna get 100 million stars on github right? I've seen this, and the preact tweet, 5 times today, and it's been promoted on the computer programming topic. Signals is going to be the next state management standard?

    0 0 0 0 0
  • nicotsou Profile Picture

    Nicos Tsourektsidis @nicotsou

    3 years ago

    @_developit Awesome!!

    0 0 0 0 0
  • goues_cz Profile Picture

    Jakub Kotrs @goues_cz

    3 years ago

    @_developit If one was to build a userland Signal component as a wrapper, and manually use <Signal signal={signal} />, would it work without patching React? I mean, it would be worse DX, but patching react looks scary.

    0 0 0 0 1
  • natehiggins Profile Picture

    Nate Higgins @natehiggins

    3 years ago

    @_developit This looks cool Jason. Really great work. I think a blog post explaining how you’ve made this work in React might help ease React developers into trying it out. Without risking framework wars, I think the community is pretty averse to “magic” and this presents as magic.

    0 0 0 0 0
  • jaredcwhite Profile Picture

    Jared White 👋 @[email protected] @jaredcwhite

    3 years ago

    @_developit Q: creating a new signal plus effect outside of a fn React component: const newSignal = value => { const sig = signal(value) effect(() => console.log(sig.value)) return sig } // comp const num = React.useMemo(() => newSignal(1), []) Seems to work! Any potential gotchas?

    1 0 0 0 0
  • rw_crispy01 Profile Picture

    Christian N. Crispy @rw_crispy01

    3 years ago

    @_developit does this work with @reactnative ?

    0 0 0 0 0
  • nanxiaobei Profile Picture

    南小北 @nanxiaobei

    3 years ago

    @_developit fortunately it only supports primitives, otherwise I would be scared to death 🥲

    1 0 0 0 0
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 www.instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro x profile viewer