dabrazhe 2020-07-06T11:10:31.280100Z

@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?

pwojnowski 2020-07-06T11:41:34.280300Z

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.

lostineverland 2020-07-06T16:48:16.280600Z

amplify pull will recreate the aws-exports.js file.

lostineverland 2020-07-06T16:59:56.280800Z

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?

benny 2020-07-06T21:51:00.283500Z

anyone know why i’m getting these error messages from loading re-frisk? > TypeError: is not a function. (In ‘’, ‘’ is undefined) reason i know it’s re-frisk is it doesn’t happen if i remove my re-frisk preload from shadow

Rabie 2020-07-06T22:08:40.289900Z

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 ^:flush-dom

Rabie 2020-07-06T22:21:17.291Z

Thank you @mikethompson !