When using curly braces to evaluate a JavaScript expression in a basic Text component, the JavaScript is not evaluated consistently. In the attached video you can see the steps to reproduce the bug:
- Create a basic Text component.
- Enter a JavaScript expression in curly braces. It evaluates and renders correctly.
- Refresh the page. Now the expression is no longer being evaluated.
- Type into the text component. It will start evaluating and rendering correctly again.
- Refresh the page. Now the expression is no longer being evaluated.
- Repeat…
Video: builderio-expression-bug.webm - Google Drive
Builder content link: Builder.io: Drag & Drop Headless CMS
Builder public api key: cdea98614de745fdb32a17d23b2dc508
Stack: I noticed the bug in a NextJS app, but for the video I reproduced it using the Builder.io fallback editor with no integration.