faber
25 posts


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

English

@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

🗒️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
faber retweetledi


clip-path (crop) transitions powered by @sveltejs
site clip-path-svelte.netlify.app
repl svelte.dev/repl/53c264646…
#javascript #css #svelte
English

@jaffathecake @rauschma We have to close tag when writing JSX.
I guess I got used to writing html elements that way.
English

@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

@bancek @acemarke it works 🎉
codesandbox.io/s/listen-for-c…
typing could be tidier but it's got the basic idea
English
faber retweetledi

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

@TkDodo @acemarke @phry @tonyddattolo @borislit @housecor @remix_run @nextjs You should take a look at this PR github.com/vercel/swr/pul…
It is full of interesting ideas.
English

@acemarke @phry @tonyddattolo @borislit @housecor @remix_run @nextjs @faber_vt I'd want something like that for suspense support on our `useQueries` api: fine-granular decision about which queries would use suspense and which not, and throw a Promise.all with those that should or so :)
Same for using error boundaries - not all queries must use them :)
English

🚨 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

@phry @borislit @TkDodo @housecor @remix_run @nextjs The react team currently doesn't currently suggest the use suspense with data-fetching libraries, see:
#issuecomment-1095286588" target="_blank" rel="nofollow noopener">github.com/facebook/react…
We have a POC for a suspense mode for rtk-query.
- demo: rtkq-use-suspend-all-demo.netlify.app
- PR github.com/reduxjs/redux-…
English

@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
faber retweetledi

🎉 Happy IE11 End of Life Week everybody!!!
Reminder that Microsoft is deprecating IE11 starting *THIS WEDNESDAY*
docs.microsoft.com/en-us/lifecycl…
Press F to pay respects

English

@NathanBierema You're forgetting UMD 😏
My next lib will use "_" as global name:
what could possibly go wrong?
English

@faber_vt Per that issue, there may be a lib that could be used for this already
English

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
faber retweetledi

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
English

I'm having a ton of fun learning @solid_js 🚀
I've developed #solidjs barcode component but honestly I've spent far too much time on tue demo site:
fabervitale.github.io/solid-bricks/e…
English

I've written a small SuspenseList demo, link: suspenselist-18-demo.netlify.app
Source github.com/FaberVitale/re…
Based on blog.bitsrc.io/quick-walkthro…
#ReactJS
English
faber retweetledi

Regular reminder that beta.reactjs.org is the official, free, and dare I say possibly best way to learn React
English



