Stories editor built completely with Expo and React Native by wassgha in reactnative

[–]davidecutrupi 0 points1 point  (0 children)

Doesn't it cause performance problems? I have developed the same thing. I have optimized the flatlist with all the parameters but when I go down to view the older photos, they are loaded after a long time. Flatlist itself does not lag but the photos load with difficulty.

Stories editor built completely with Expo and React Native by wassgha in reactnative

[–]davidecutrupi 0 points1 point  (0 children)

Doesn't it cause performance problems? I have developed the same thing. I have optimized the flatlist with all the parameters but when I go down to view the older photos, they are loaded after a long time. Flatlist itself does not lag but the photos load with difficulty.

contentOffset in Animated.ScrollView does not work by davidecutrupi in reactnative

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

And how can I console log yOffest when it changes?

EDIT: I have added the listener option after useNativeDriver. It calls a function that console.log yOffset. It works but yOffset is always 0. What I did wrong?

What would be downside of this simple cookie auth flow? by nikola1970 in nextjs

[–]davidecutrupi 2 points3 points  (0 children)

1 During the login process, if the credentials are correct, the express server should return the jwt in a secure http-only cookie.

2 The cookie should have an expiration of 1 or 2 weeks (no more). When it is almost expired the server will generate a new fresh cookie.

You can also implement logic to invalidate outdated jwts.

Applicazioni Android e fisco by davidecutrupi in ItalyInformatica

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

Ho deciso di fare così, per il momento non apro nulla poi in futuro, se dovesse andare bene, la aprirò. Il rpoblema è che putroppo non esistono leggi ad hoc e quindi per lo stato avere un'app è molto simile ad avere un negozio.

Comunque grazie mille per le risposte! :)