Update integrating with a framework to show SDK initialized only once
rhamzeh opened this issue · 0 comments
rhamzeh commented
https://openfga.dev/docs/getting-started/framework
https://github.com/openfga/openfga.dev/blob/main/docs/content/getting-started/framework.mdx#L326-L330
https://github.com/openfga/openfga.dev/blob/main/docs/content/getting-started/framework.mdx#L481-L486
These show the Client being re-initialized at every request which goes against our recommendations.
We should initialize the client only once and re-use it