We are now ready to install effect. We are going to install effect
, @effect/schema
and @effect/platform
:
effect
: core library that provides primitives to build applications with effect and schemas@effect/platform
: provides effect services for things like HTTP requests, file system, and more
pnpm add effect @effect/platform
At this point, we have the following dependencies installed:
package.json
{
"name": "effect-react-19-project-template",
"version": "0.0.0",
"type": "module",
"private": true,
"author": "Sandro Maglione",
"scripts": {
"dev": "waku dev",
"build": "waku build",
"start": "waku start",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@effect/platform": "^0.79.0",
"effect": "^3.13.9",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-server-dom-webpack": "19.0.0",
"waku": "0.21.23"
},
"devDependencies": {
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"typescript": "5.8.2"
}
}