JavaScript: Ember 3.23 can create and call helper instances in components

Source: Heise.de added 15th Dec 2020

  • javascript:-ember-3.23-can-create-and-call-helper-instances-in-components

The team behind the open source JavaScript framework has announced the release of Ember 3. 23. At the same time, updated versions of the data persistence library Ember Data, which is compatible with the framework, and the new Ember CLI (Command-Line Interface) for packaging Ember.js applications were released.

New little helpers on board The JavaScript framework receives two new help functions: The one on GitHub in April 2020 initiated interface invokeHelper for calling helper definitions is now officially implemented . With invokeHelper new instances of a helper can be created in JavaScript. The release also includes a new helper manager, which is supposed to provide low-threshold primitives for defining helpers.

Other changes mainly concern problem-solving, such as rendering -Engine Glimmer updates received to make debugging easier (Issue # 19213), some bugs in the query parameters are considered fixed. For example, the new version now prevents multiple serialization of query parameters in the case of a activeTransition (Issue # 19236), and some known bugs of the intermediate transitions (in the query parameters) are considered fixed (Issue # 19249). New deprecations (warnings that features will be considered obsolete in the future) are not included in the framework release this time, but the constructor now apparently issues a deprecation notice during rendering when tracked mutations in the code are made (Issue # 19282).

Library and CLI in version 3. 23 The persistence library Ember Data 3. 23 can also report some bug fixes, so the notifications are apparently extended when debugging and when installing ember-fetch A new deprecation warning now appears for najax calls: These are due to the dependency on an earlier deprecation (Issue # 7230) are now also covered by the warning and will be omitted in a future version. There have been no major changes to the Command Line Interface (CLI). Users can update it as usual via the command line by entering the command npx ember-cli-update . Extensive information on the CLI update can be viewed on GitHub.

Background to the framework for SPA Ember.js is open source and a backward compatible JavaScript framework that web developers can use to create single-page applications (SPA). About a year ago the Ember team had released version 3. under the name “Octane”, which was the version at that time The architecture and working method of the Ember development with native JavaScript classes on a new footing and heralded the separation from jQuery. Ember is still a community project.

The software can be installed with the package manager npm from Node.js, for templates it uses the syntax of Handlebars.js. The new properties are based on a series of Requests for Comments (RFC); the discussion can be viewed on GitHub. Both features are active by default with the update. With the ember-try add-on, projects can be tested in the current version and compared with previous version levels.

Further information on the current release is provided by the announcement in the Ember blog, which also includes the RFCs (Requests for Commetns) referenced. Information about the update can be found in the release area on GitHub.

(sih)

Read the full article at Heise.de

brands: CODE  Js  New  other  Team  
media: Heise.de  
keywords: Open Source  Software  

Related posts


Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 88

Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 88

Related Products



Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 91

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 91