LaraReact (@goodciety) header
LaraReact (@goodciety) profile picture

Laravel API + React frontend 💙

Joined November 2020
Photo by LaraReact (@goodciety)Photo by LaraReact (@goodciety)Photo by LaraReact (@goodciety)Photo by LaraReact (@goodciety)Photo by LaraReact (@goodciety)Photo by LaraReact (@goodciety)Photo by LaraReact (@goodciety)
LaraReact retweeted
Another quick win for Laravel devs. Make your tap() or Tappable object calls type hinted with @rectorphp Type hinting can be a pain while developing so rules like this can help in your CI process. Anything I should be working on next? 🏠 github.com/driftingly/rector…
1
6
12
1,872
2500 people watching @ThePrimeagen doing php at @aarondfrancis’s studio. Nuts… 🔥
6
3
1
104
13,669
LaraReact retweeted
I'll become a fan of ChatGPT the moment it starts to port our legacy AngularJS code to React
2
1
1
3
547
When you're building React apps, you can use Laravel for the back end. And in this in-depth tutorial, San shows you how by building a draggable task list app. He walks you through building out the backend first and then covers all the frontend details. freecodecamp.org/news/use-re…
3
26
152
18,152
LaraReact retweeted
Wanna speed up your TypeScript builds and improve your IDE's TypeScript language server performance? Replace type intersections with interfaces. Here's how: 1. Search for this: & { 2. Replace the type intersections with an interface. Why? Because type intersections are slow. This post by @mattpocockuk covers the details. totaltypescript.com/react-ap…
12
38
1
371
61,053
Sometimes people will look at a React Server Components diagram and say: "look! so complicated!" But if you draw a similar chart of their own app you'd find it's not all that different.
7
41
5
344
63,229
Hott or not? 🤔
94
62
10
960
78,090
🔥 Laravel Tip Queries that need to examine string columns will always be slower than integer columns (even when indexed). For larger tables, using integers in the database and representing them using readable enums in app code can make a major difference to performance.
12
24
1
141
10,095
My new Laravel video of the day. New in Laravel 10.47: Eloquent whereAll() and whereAny() - YouTube youtube.com/watch?v=3DHPfgqM…
1
6
58
3,846
🔥 Laravel Tip: Instructing the DB to delete hundreds of thousands, or millions of records is a guaranteed way to make it to fall over. Fortunately, you can help by adding pauses in the deletion process...
8
34
174
13,644
LaraReact retweeted
Here's what makes @tan_stack Router special: It's the first React router designed to work with TypeScript. The API feels "weird" at first. Then you realize - oh, when I structure my routes and params this way, everything is strongly typed! Brilliant. 🔥
6
7
144
18,424
LaraReact retweeted
I've taught teams React with React Router for years. Today I'm using @tan_stack Router instead. We're using the file-based approach. It's quite nice. I like how easy it is to set up the watch mode with Vite. When I hit save, it generates route types. Slick. And autocomplete support when declaring links is fantastic: Thanks to strong types, I can't mess this up!
11
29
1
462
53,958
My answer: TypeScript's goal is not to be type-safe. It's to provide a type system to describe enough of JavaScript to be useful.
Is TypeScript type-safe?
28%Yes
39%No
33%🍿
8,337 votes • Final results
17
20
3
304
51,848
LaraReact retweeted
React Server Actions have helped me: ◆ Write less code ◆ Build better user experiences How can we create products that are resilient to slower internet connections and instantly provide feedback on user input? ↓
24
60
6
702
77,507
LaraReact retweeted
RIP React Router? @t3dotgg Tanstack Router is a HUGE release and it's going to change how we think about our routes forever. youtu.be/LVzG3nncE4M
4
1
9
1,429
LaraReact retweeted
Why I'm excited about React Server Components (RSC): 1. Smaller JS bundle (Server components add zero K to the bundle) 2. Performance. Fetching starts faster, runs on the server, and the results stream via HTTP streaming. 3. Simple fetching. No useEffect or state! 4. I don't need a REST/GraphQL API to call the DB. I can call the DB directly via SQL, or abstract the DB via a simple service layer. This is MUCH faster than using HTTP. 🔥 5. I can use the same tech on client and server: React.
56
65
12
704
173,518
LaraReact retweeted
NuxtLabs UI is now Nuxt UI 💚 ui.nuxt.com
34
165
29
1,042
109,366
🎉 Just published a very detailed article about Docker and Laravel. It contains everything you need to know about Dockerizing: - Laravel API - Vue SPA - Worker - Scheduler Check it out if you're interested in Docker:
13
113
4
563
68,479