Effect-TS / effect

An ecosystem of tools to build robust applications in TypeScript
https://effect.website
MIT License
7.69k stars 244 forks source link

Guide for newbies #3928

Open IRediTOTO opened 1 week ago

IRediTOTO commented 1 week ago

What is the type of issue?

Documentation is confusing

What is the issue?

Hello, I'm new to Effect ts. I have read part of the instructions but I'm not sure how to apply it in a real situation. Instructional videos on Youtube when I type exactly like them, there is a typescript error... I would love to have a beginner's guide to guide real-life usage to make it easier to learn. Nextjs has learn process is an example: https://nextjs.org/learn/dashboard-app/getting-started here is example: My code image Youtube code image

Where did you find it?

No response

didagu commented 1 week ago

The youtube code is probably using an older version of @effect/platform, because the current version does not have any exported etchOk in HTTPClient.

IRediTOTO commented 1 week ago

The youtube code is probably using an older version of @effect/platform, because the current version does not have any exported etchOk in HTTPClient.

video just some months ago. And it should be marked as "removed" not delete 😑