LearnNewsExamplesServices
Frontmatter
id1829
titlemodel.Component: the data properties capturing regex does not fit for dist/production anymore
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 20, 2021, 2:02 PM
updatedAtApr 20, 2021, 2:03 PM
githubUrlhttps://github.com/neomjs/neo/issues/1829
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 20, 2021, 2:03 PM

model.Component: the data properties capturing regex does not fit for dist/production anymore

Closed v8.1.0 enhancement
tobiu
tobiu commented on Apr 20, 2021, 2:02 PM

while it does work fine for the development mode as well as dist/development, the minifying is a problem here.

value: data => `${data.button1Text}`

will get changed to e.g.:

value: e => `${e.button1Text}`

so we need a capturing group to check for "data" or a single character

tobiu added the enhancement label on Apr 20, 2021, 2:02 PM
tobiu assigned to @tobiu on Apr 20, 2021, 2:02 PM
tobiu referenced in commit 446fef4 - "model.Component: the data properties capturing regex does not fit for dist/production anymore #1829" on Apr 20, 2021, 2:03 PM
tobiu closed this issue on Apr 20, 2021, 2:03 PM
tobiu cross-referenced by #1830 on Apr 20, 2021, 2:06 PM