Skip to main content
Module

x/fastro/post/react.md

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Latest
File

title: “Fastro v0.82.0: Back to using React” image: https://fastro.deno.dev/fastro.png description: “The error in the previous version has been resolved” author: Yanu Widodo date: 10/22/2023

The error in the previous version has been resolved. The root cause is the react version on both server side and client side different.

This happens when we call react from esm.sh directly:

https://esm.sh/react@18.2.0
https://esm.sh/react-dom@18.2.0

If you want consistent versioning, you should call esm.sh with prefix v133:

https://esm.sh/v133/react@18.2.0
https://esm.sh/v133/react-dom@18.2.0

This helps ensure the stability and reliability of your application.