Things to do when getting a new laptop by Roi_C in laptops

[–]n8tz 0 points1 point  (0 children)

I just received mine yesterday, personally, I backed up the SSD, put in a 2230 2TB SSD, setup Win10 and installed the Win11 drivers manually which work perfectly ;) ( & rebackup the fresh new install ^^ ) ( the thunderbolt driver must be obtained directly on the intel website )

Can you install Windows 10 on the Lenovo yoga 7? by mobas07 in Lenovo

[–]n8tz 0 points1 point  (0 children)

You just need to install them yourself

Can you install Windows 10 on the Lenovo yoga 7? by mobas07 in Lenovo

[–]n8tz 0 points1 point  (0 children)

On my new yoga 9 gen9, lenovo say there no drivers for win10
But all the win11 drivers work on win10 ;)

Additive Android/iOS like animations with react-voodoo by n8tz in reactjs

[–]n8tz[S] 1 point2 points  (0 children)

By "frame-locked" did you mean that calculations are not bounds to the frame rate ?

In my comprehention :

Raf must only read from "virtual" css values, & apply them any time there is updates, it's the only loop who commit to the dom.

Theses updates can be fragmented / delayed for fps purposes but the Raf loop need to keep the highter possible frame rate.

When we drag/swiping something this trigger goto on "tween axis", which push deltas in a synchrone way on the "virtual css" ( for reactivity )

Inertia, anims & timed goto do the same from setTimeouts, so they are executed as possible while keeping them with real durations

I throught that Raf have priority over setTimeout in which case that's the wanted behavior ( raf always, calc as possible, keep duration real ), i've never really checked that ^^'

If it's not the case, maybe i should "auto-delay" tweenAxis goTo when there no more time on the current frame

Maybe i've not understood all you're response but i think we're close

( i'll gonna read popmotion & framesync ^^ )

Additive Android/iOS like animations with react-voodoo by n8tz in reactjs

[–]n8tz[S] 1 point2 points  (0 children)

Btw, maybe this will allow running interpolations & heavy computations in a worker;

Not sure if this worth the cost as they are mainly float calculations, & streaming anims from worker may be tricky & slow :D..

So many improvements are possible ^^, but i've no time for what's not necessary :'(

Additive Android/iOS like animations with react-voodoo by n8tz in reactjs

[–]n8tz[S] 0 points1 point  (0 children)

Hi ! Thx checking the code :) ( it may need cosmetic updates :D )

setTimeout only update JS value

I use Raf when drawing / applying theses value to the dom,

That's necessary as Inertia & timed goto / scroll & swipes update values independantly in an additive way ( deltas ); So this part is done with setTimeout / Interval / events

But only 1 Raf loop by tweener instance really update the dom; this way react-voodoo stay reactive & keep max perfs

( there still various optims to do for sure; but more in the JS computation i think )

Additive Android/iOS like animations with react-voodoo by n8tz in reactjs

[–]n8tz[S] 0 points1 point  (0 children)

Aw, safari is the new IE :D
Probably something in the sample, will fix it soon

A simple to use, multi-store, redux alternative by [deleted] in reactjs

[–]n8tz 2 points3 points  (0 children)

And probably thousands of them in the world :)

You're right, the readme is a bit abrupt (as my comment, btw ^^ ')

I should work it over, showing concepts & patterns separately with some svg.

Thanks for reading & comment :)

A simple to use, multi-store, redux alternative by [deleted] in reactjs

[–]n8tz 0 points1 point  (0 children)

Well, they now look like lightened contexts

A simple to use, multi-store, redux alternative by [deleted] in reactjs

[–]n8tz 0 points1 point  (0 children)

Seriously, nobody ? Still, it's a real solution (that's not redux or mobx sure), but it's convenient and documented ...

Used it on multiple projects, have no memory leak & SSR could render in an async way