faber

25 posts

faber

faber

@faber_vt

Rome, Lazio Katılım Mayıs 2019
70 Takip Edilen10 Takipçiler
Jay Phelps
Jay Phelps@jayphelps·
If you write RxJS and you're not already using marble diagram testing with the TestScheduler, you might enjoy one of my talks that introduces it: Don’t Lose Your Marbles, We Can Test RxJS Code - RxJS Live! London youtube.com/watch?v=s9FY-M…
YouTube video
YouTube
Jay Phelps tweet media
English
1
5
27
4.4K
faber
faber@faber_vt·
@DasSurma Oh man, custom allocators: it took a while to find one that worked on single memory page for @wasm4_org In the end we chose buddy_alloc
English
0
0
0
178
Surma
Surma@DasSurma·
🗒️New blog: Compiling 🦀Rust to 🧩WebAssembly the hard way. I braindumped everything I know about Rust (compiler directives, custom allocators…), WebAssembly and tools (twiggy, wasm-opt, wasm-bindgen…) into one big article. Hope it's useful! 👀👇 surma.dev/things/rust-to…
English
6
38
249
37.2K
faber
faber@faber_vt·
@jaffathecake @rauschma We have to close tag when writing JSX. I guess I got used to writing html elements that way.
English
0
0
1
0
Jake Archibald
Jake Archibald@jaffathecake·
@rauschma But you're not relying on syntax. In HTML the / is ignored. So, it's fake syntax. That's why <div/> doesn't 'work'.
English
3
0
0
0
faber
faber@faber_vt·
@phry I wonder if we can complicate it further with async generators 🤔
English
0
0
1
0
Lenz Weber-Tronic
Lenz Weber-Tronic@phry·
Did you know you can make `reduce` even more unreadable by putting an async function in there?
Lenz Weber-Tronic tweet media
English
25
44
548
0
faber
faber@faber_vt·
@eskimojo @bancek @acemarke I'm not sure that is necessary to complicate that part: You can always dispatch a listener and then trigger it inside a single thunk
English
1
0
0
0
Mark Erikson
Mark Erikson@acemarke·
How often has anyone need to write Redux code that looks roughly like this? `await waitForItemToBeLoaded()` Right now that's tricky b/c you need access to state, and a subscriber of some kind that checks for a value and resolves a promise when it's available
English
4
0
5
0
faber retweetledi
Tauri
Tauri@TauriApps·
Hear ye, here yeet. Tauri 1.0 has been released, and you can read all about it at our new blog. Check it out: tauri.app/blog/tauri_1_0/
English
6
91
451
0
Cory House
Cory House@housecor·
🚨 React developers: 🚨 You don’t have to fetch data via useEffect. Here are 7 compelling alternatives to fetching data via useEffect: 1. react-query 2. swr 3. XState 4. React Router 6.4 5. @remix_run loader 6. @nextjs getServerSideProps/getStaticProps 7. rtk query #react
English
41
237
1.3K
0
Lenz Weber-Tronic
Lenz Weber-Tronic@phry·
@borislit @TkDodo @housecor @remix_run @nextjs "Ad hoc data fetching with Suspense is technically possible, but still not recommended as a general strategy." They only talk about frameworks, since they have been in contact with framework teams. They had no such contact with any fetching/caching library as far as I know.
English
2
0
3
0
faber
faber@faber_vt·
@NathanBierema You're forgetting UMD 😏 My next lib will use "_" as global name: what could possibly go wrong?
English
0
0
0
0
Nathan Bierema
Nathan Bierema@NathanBierema·
Until then, can come up with an authoritative way to dual-publish CJS and ESM?
English
2
2
3
0
Nathan Bierema
Nathan Bierema@NathanBierema·
The CJS to ESM transition has been really painful even for experienced developers, especially with tools like Jest.
English
1
0
11
0
Mark Erikson
Mark Erikson@acemarke·
@faber_vt Per that issue, there may be a lib that could be used for this already
English
1
0
1
0
Mark Erikson
Mark Erikson@acemarke·
There's a long-outstanding feature request for the Redux DevTools to show the size of each nested piece of data in the store. Could be useful for folks with really large states. Anyone want to try adding this? github.com/reduxjs/redux-…
English
2
2
6
0
faber retweetledi
Ryan Carniato
Ryan Carniato@RyanCarniato·
Join me tomorrow when I talk all about @solid_js. I'm going to cover origins in detail, explain why Solid has had such an impact on how we think about frontend today, and lay out where things are going. youtube.com/watch?v=dOgnQ9…
YouTube video
YouTube
English
2
8
126
0
faber retweetledi
R 'Nearest' Nabors
R 'Nearest' Nabors@rachelnabors·
Regular reminder that beta.reactjs.org is the official, free, and dare I say possibly best way to learn React
English
1
14
76
0