-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StencilJS + AWS Amplify & AWS AppSync: StencilJS show stopper ! #1471
Comments
I found this concerning memoizedProperty according to aws/aws-sdk-js#1769 and implemend that ionic-team/ionic-app-scripts#130 in app-root.tsx
This work for aws-sdk but is ugly and does not work for amplify-js and aws-mobile-appsync-sdk-js Any idea on this ? I can try based on your input and post outcome here with code samples |
@mhartington
Modify stencil.config.js:
In app-root.tsx, top of the file add:
tsconfig.json
In Chrome:
|
Hi Ionic team,
AWS made some great effort to enable AWS Amplify and AppSync to be usable with Ionic+Angular. Works fine
While trying to move to StencilJS, unfortunately AWS Amplify & AppSync doesn't work properly.
Problem solved:
=> added builtins and globals in stencil.config.ts:
export const config: Config = {
plugins: [
builtins(), // only needed if using node types
globals(),
],
Remaining problem
app.core.js:1834 TypeError: Cannot read property 'memoizedProperty' of undefined
at fl-agenda-page.md.entry.js:733 "http://localhost:3334/build/app/fl-agenda-page.md.entry.js"
To note, aws-sdk-js is causing troubles with StencilJS as well
You referenced in the past AWS Amplify, did you try Stencil + Ionic + AWS Amplify/AppSync ?
The text was updated successfully, but these errors were encountered: