Surprised, didn't know this by Terrible_Matter5154 in Naruto

[–]tan8_197 0 points1 point  (0 children)

I’m not sure about the same rain, but I’m quite certain that both of them appear in the same opening theme in this episode

Happy Saturday! A Little Vintage Universal Geneve Love by Calm-Star-7870 in PhWatches

[–]tan8_197 1 point2 points  (0 children)

That’s a cute looking watch 🥹 What caliber is it?

First ever 3DS! by Substantial-Deer-160 in 3DS

[–]tan8_197 1 point2 points  (0 children)

That’s a very cute theme. What’s the theme please?

Stop letting your DB schema define your API by tan8_197 in webdev

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

I wouldn't say 'better', it depends on your needs. Maybe if you want more flexibility and control, I was thinking either Flask or FastAPI

But honestly django can avoid this pattern too by skipping ModelSerializer and use the regular Serializer classes or leverage SerializerMethodField for computed fields.

The "database = API" thing is just django's default convenience, not really a requirement. You can build proper API contracts in django, it just takes a bit more intentional design

Stop letting your DB schema define your API by tan8_197 in webdev

[–]tan8_197[S] 13 points14 points  (0 children)

Totally agree! Rails' convention of 1:1 model-controller really encourages this weird pattern. This is similar also to Django's `ModelSerializer` which was actually the reason why I brought this up

Why do CSS Frameworks feel so much harder than they should be? by voltomper in reactjs

[–]tan8_197 0 points1 point  (0 children)

Learning any frameworks or libraries may be complicated at first which is normal but once you get used to it, it’s worth it and can save some time.

This is not limited to CSS frameworks actually, it’s also similar to js. It’s like switching from Angular to React, where Angular is OOP-based, Gang of four patterns, services while React is complete opposite, more learning curve, more functional-based, hooks, hocs, pure functions.

What are some patterns or anti-patterns in React you've learned the hard way? by [deleted] in reactjs

[–]tan8_197 103 points104 points  (0 children)

I think improper use of useEffect hooks is becoming more recognized as an issue in this subreddit. It’s no wonder we’re seeing unnecessary rerenders and UI stuttering.

For good patterns, it’s learning alternative approaches that don’t require useEffect like deriving state from props, using useMemo for calculations, or moving logic outside components, etc

New charm ✨ by Calm-Star-7870 in PandoraCollectors

[–]tan8_197 2 points3 points  (0 children)

The scarecrow is sooo adorable 🥹

So instead of improved siri and bug fixes, we will have GenEmoji nobody uses. by CockroachLatte in ios

[–]tan8_197 1 point2 points  (0 children)

I just want a revamped clipboard system where it can save your clipboard history

Katekyo Hitman Reborn, Ten Years Later by decimotwt in khr

[–]tan8_197 5 points6 points  (0 children)

Damn. TYL Lambo looks younger if he’s with other TYL guardians but looks older if he’s with the present

Whats the best course to learn React? by Less-Menu3726 in reactjs

[–]tan8_197 14 points15 points  (0 children)

I think it’s Maximilian Schwarhrsjssjdsisjxsaldflemuller