Good work, but you missed explaining all the permissions in an aws iam policy file that is needed to be able to run a successful "serverless deploy" command, it took me a while to have that set up
Hi I know you uploaded it a long ago, the think I liked is the usig types in useFieldArray. The problem is that in my form I have useFieldArray inside useFieldArray and in this case its doesnt recognize the type
In Next 13, I have a list of products with categories. I want to put these categories into constants so I can check if a product belongs to one category or another. For example: if (product.id === CONSTANTS.DRINKS) { //do something with the product if it is from the drinks category } These constants would be populated upon a request to an external API. They must be filled in throughout the code and will be used in both common javascript files and React components. Is there a way to do this in the next 13? Considering that there are files that are rendered on the server and other files that use RTK that will be rendered on the client. Is there another approach to distributing these constants throughout the code? I tried to make a request to the API to fill in the constants, but as there are files that are rendered on the server and others on the client, it didn't work as I expected. They must only be filled once and all code will be able to see this value filled.
CRA didn't bother with devDependencies because webpack knows to only include the required items in the final build. devDependencies only matter if you are building npm packages, I think.
Can you help me i try to integrate okta openid auth with private public key how can i do that , when using in react getting error 401 in both react and node js can you guide me usign public key and private key with react and node js i am stuck and no correct documents found
there is a strange behaviour in the code. If you put console.log in for example resolver function or service, the api endpoint is not returning response. So if you put console.log in getAllBooks resolver function and run books query from playground, it won't return any response (it's spinning and response isn't returned). If you remove the console.log, than there won't be any issue.
Hey Leo thanks for the video! I have 2 questions: 1) how does someone changes that "?" to "✅" and I have prepared a template (GitHub repo) with JS/TS, Playwright, GSAP. I want to create a CLI, which actually will "create" a template based on user input: 1. JS or TS? 2. Install GSAP? 3. Install Playwright? The thing is, that I don't know how to create it: from within the CLI or fetch the files based on user input, example jsconfig.json or tsconfig.json with options? Also common files like .prettierrc.json, .eslintrc.json etc.. If I create it from within (for example having a folder "template" with "common", "javascript", "typescript" subfolders and pick the files needed, i'm afraid that It will be very difficult to debug only @ 1 place (I suppose I will have to debug my end-template and then go and "copy" "paste" parts of code inside my CLI's code & templates folder). But if I "fetch" files then the CLI is not actually versioning correctly since it will only fetch the latest files. I'm superconfused...
After investing over 48 hours into learning about serverless from various sources and blogs, I was surprised to find that this video managed to encapsulate the entire topic in just under 30 minutes. Outstanding job, Leo!
Hard to follow this. The explanation of why you set teamHistory to true, and what that does, is unclear. Later in video you remove something to show that observables no longer work, but you don’t show or explain what you did. Frustrating. I was hoping this would teach me what I need to know, but there are too many confusing things about it
Hi all, not sure if I will have any luck with this but I am trying to add a flask api authorization (also using okta) with an existing react app that has spa authentication with okta. Is this possible? Any help would be greatly appreciated!
Thanks a lot, for being on-point and touching upon important parts of the topic. On the debug section, in the run configs, the "protocol" is not longer supported, and for me it was just exiting with 1 so I added the --verbose flag to know what's going on, and just adding --verbose as follows, solved the problem and the debugger works great! "args": ["offline", "start", "--httpPort", "4000", "--noTimeout", "--verbose"], Cheers!