Types
The article is in the process of writing
To bring the release of the article closer, you can:
- ๐ข Share your feedback at article (comment/emoji-reaction)
- ๐ฌ Collect the relevant material on the topic from chat
- โ๏ธ Contribute in any other way
๐ฐ Stay tuned!
The types are different
This may be as a utility type (
Maybe
) and subject area (Tls Contract, Camera, ...)
what refers to The subject area is usually better to put in the shared/api (especially when there is a code generation in one place) (for entities such spraying PTS released)
Common service types that you can segelerite - same-react-app-env.d.ts
And if you have service types and you need to import right everywhere, then it's not critical especially, you can also put it in shared, you can also put it next to react-app.env.dts
https://t.me/feature_sliced/3879
- It makes sense to store normalized types for entities in entities
Was this page helpful?
Your feedback helps us improve the docs