---
title: "Comment by Vidit Shah on \"AWS CDK for Frontend Developers: Databases and Serverless Functions\" | Hashnode"
description: "const userDB = createUserTable(this, { appName: context.appName, env: context.environment, addUserFunc, }) addUserFunc seems to be redundant here"
url: "https://hashnode.com/posts/aws-cdk-for-frontend-developers-databases-and-serverless-functions/6416cf7c33a442295f5c64cb/comment/642b0ebe351232fa62945996"
---

[Discussion](https://hashnode.com/posts/aws-cdk-for-frontend-developers-databases-and-serverless-functions/6416cf7c33a442295f5c64cb)

Comment [AWS CDK for Frontend Developers: Databases and Serverless Functions](https://hashnode.com/posts/aws-cdk-for-frontend-developers-databases-and-serverless-functions/6416cf7c33a442295f5c64cb)

[Vidit Shah](https://hashnode.com/@vidit0210)

[Apr 3, 2023](https://hashnode.com/posts/aws-cdk-for-frontend-developers-databases-and-serverless-functions/6416cf7c33a442295f5c64cb/comment/642b0ebe351232fa62945996)

const userDB = createUserTable(this, { appName: context.appName, env: context.environment, addUserFunc, })

addUserFunc seems to be redundant here
