Eric Burel
banner
ericburel.tech
Eric Burel
@ericburel.tech
LangChain pro trainer @ LBKE
Member of Devographics (State of JS/CSS/HTML/React surveys).
https://www.ericburel.tech/
Quand j'arrive dans ce dossier je sais qu'on est parti pour une session de code de malade
@cursor.com.web.brid.gy
September 17, 2025 at 2:17 PM
Just noticed that long ago @astro.build has fixed JSX
Look at this
July 10, 2025 at 10:19 AM
June 16, 2025 at 7:57 PM
I see you ML engineers
Agents > models even fine-tuned
June 13, 2025 at 9:25 AM
What's your pick?
April 11, 2025 at 2:29 PM
Claude is such a funny bot
February 25, 2025 at 4:12 PM
Turns out it works
February 25, 2025 at 4:11 PM
J'ai l'intention d'y être cette année, je viens de soumettre 5 talks dans 3 catégories 😂 💌🦩
January 20, 2025 at 2:14 PM
Is using Grok to generate illustrations for my LinkedIn posts and talk about it on Bsky a misuse?
January 14, 2025 at 1:33 PM
Just updated the Devographics surveys app to #NextJS 15! Smooth upgrade thanks to codemods. Biggest challenge was #React 19 ref, but we managed to keep running on React-Bootstrap, it's still very well maintained.
Don't forget to take #StateOfJS 2024! 📊
survey.devographics.com/survey/state...
November 29, 2024 at 8:41 PM
Holly molly @bolt.new
I thought I was being smart pushing the thing as far as I could and that it would break and here's the result
The model only tripped on forgetting a default export (kind of mistake I would do lol)
The image export does work
This is just insane
November 25, 2024 at 8:14 PM
Introduce yourself with four video games
November 21, 2024 at 10:09 AM
You folks are all running Next.js 15 with React 19, but what if I told you that I run Next.js 19 on React 15?

#NextJS #ReactJS #JavaScript #JustAlignYourVersionsAtThisPoint
November 20, 2024 at 5:38 PM
Seems like @bolt.new speaks a perfect French 🍷
I am using it to generate demo apps for my Astro.js training, it's the perfect use case for app generation with AI
November 19, 2024 at 2:07 PM
I am preparing a new Next.js interactive tutorial showing how to prevent SSRF attacks.
But it seems that Copilot already knows better!!
November 14, 2024 at 11:01 AM
Most developers like early preview, don't they? So I'll make developers happy by sharing an early preview of my latest tutorial about proper integration of React with Astro :

"Using React Context in Astro - with Nanostores"
astropatterns-git-drafts-lbke.vercel.app/p/react-love...

#react #nextjs
November 5, 2024 at 8:57 PM
Streaming a big file with #Nextjs , the right and the wrong way:
- the first spike is the right way, using streams
- the second spike is the wrong way, copying the file in memory and then streaming it
Want to learn the right solution? Read NextPatterns
⬇️
nextpatterns.dev/p/gems/route...
September 10, 2024 at 7:47 PM
Next article incoming: "what is a layout in React?"
It's not that easy!
March 12, 2024 at 2:58 PM
This works ok for values that are shared across requests
However, I don't think there is an equivalent to React "cache" function, which is scoped to the current user request.
So keep in mind this pattern works for shared values: theme, i18n tokens, sitemap, but not for user-specific values.
March 5, 2024 at 4:35 PM
Finally, I can use the sitemap value, and find the right page using the current `Astro.params`!

In Next.js, this is roughly equivalent to using "unstable_cache", that is shared across requests
March 5, 2024 at 4:33 PM
I initialize the value from the page, using Astro.props
This way, I can keep this shared value in memory, and get it from components that are rendered by this page, without needing to use props
March 5, 2024 at 4:31 PM
To avoid that, I define a separate `sitemap.ts` file with a top-level variable, and I get/set it using functions
March 5, 2024 at 4:28 PM
In the State of JS result app, pages are entirely defined by a big yaml file
This sitemap file is actually an array, each value corresponds to a specific page

So, for the page "/tshirt", I'd like to get the corresponding configuration
March 5, 2024 at 4:25 PM
Astro set:html directive let's you craft CSS string templates like Styled Components
I am trying to figure how to simplify this syntax even more
March 5, 2024 at 2:28 PM
The theme is giving me a hard time but after all, CSS is just about managing some strings right, so I can craft something that *behaves* like Styled Components theming system quite easily, if I respect the same shape for theme
March 1, 2024 at 5:09 PM