Skip to content

Commit

Permalink
Create Machine best practices.md
Browse files Browse the repository at this point in the history
  • Loading branch information
technoplato committed Mar 24, 2024
1 parent 446bc73 commit 5dafcf8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Machine best practices.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Machine best practices

1) Name your actions and declare them in setup with their implementation

2) Organize your files in a structure like the following
<domain> name (permissions, application lifecycle, etc)
├── <domain>.machine.ts
├── <domain>.types.ts
├── <domain>.actions.ts
├── <domain>.actors.ts

0 comments on commit 5dafcf8

Please sign in to comment.