@pwojnowski what's the full function, how do you export it to the aws-exports.js file? I guess the file is needed for the amplify cli to deploy properly?
There's no need to export it to the aws-exports.js file. You just pass
js-config to the
configure functions as above. They configure Amplify modules. AFAIR in Amplify docs there's that you can use either aws-externs.js file or configure them using these functions.
amplify pull will recreate the
In my project I’m also making use of AppSync’s GraphQL service. Amplify creates the boilerplate code for all CRUD which I can then make use of in re-frame. The actual graphQL calls are tucked within a
reg-fx call. I’m curious if this sounds appropriate to you?
anyone know why i’m getting these error messages from loading re-frisk? > TypeError: fexpr__46516.call is not a function. (In ‘fexpr__46516.call(null)’, ‘fexpr__46516.call’ is undefined) reason i know it’s re-frisk is it doesn’t happen if i remove my re-frisk preload from shadow
Hello, So I'm learning reframe by programming a checkers game with an AI to evaluate the oponent moves. The sequence of the program is the following: • Human clicks on a move which triggers an event • Re-frame catches the event and updates db. • Re-frame renders the new board based on the db update • The AI algorithm starts to calculate the move of the oponent (it takes a little while) The problem is that sometimes the AI starts working before showing the move. So I have to wait for the end of the AI calculation to see the rendering of the human move and the oponent at the same time. Is there a way in reframe to force rendering to show the human move before starting the AI function? Thanks for your help
Short answer: use