DataFormsJS v5.8.0 Release Notes
Release Date: 2021-03-24 // about 3 years ago-
- ⚡️ JSX Loader Updates
- Improvements for Legacy Browsers (IE, UC Browser, Legacy Edge, etc)
- Add default support for destructuring assignment using spread operator, previously this was available but required extra config. This is commonly used with reducers (both Redux and native React Hooks).
- Updated version of
@babel/standalone
from7.12.9
to7.12.12
. At the time of release Babel is update to version7.13.12
however builds starting at7.12.13
have a broken regex for IE - Add support for
<hr/>
. With previous releases<hr/>
caused a compiler error while including the space<hr />
worked.
- DataFormsJS Framework
app
- Updated CDN Version for
css-vars-ponyfill
from2.4.2
to2.4.3
and added support for CSS Ponyfill/Polyfill on inline<style>
elements that include the attributedata-css-vars-ponyfill
- Updated CDN Version for
- ➕ Added Class
CssVars
for React- Allows for ability to define CSS Variable Polyfill/Ponyfill automatically for older browsers.
- Previously some of the examples had custom code included directly on each page to make this happen.
- Now a
[data-css-vars-ponyfill]
attribute simply needs to be included on the style sheet, example: ~~~html ~~~ - Then call
CssVars.ponyfill()
from JavaScript - This class is available in the root DataFormsJS React Namespace
- When used this automatically downloads and runs
css-vars-ponyfill
one time when the page is first loaded. - https://github.com/jhildenbiddle/css-vars-ponyfill
- As of 2021 this will mostly used on sites that support IE 11. Unless a very old version of Mobile Safari or Android Device is used they will typically support CSS Variables.
- ⚡️ JSX Loader Updates