Closed xiaodong2008 closed 2 months ago
Exports like FastjsDom, and FastjsDate will not provided in the entry file anymore
FastjsDom
FastjsDate
We will still keep these exports at a module level
For example, you need to use FastjsDate directly in your code. You can write like this:
import { date } from 'jsfast' const dateInstance = date.create()
Different modules have different APIs to let you use underlying implementation, for example:
dom.newEl
dom.newElList
request.create
This breaking change will be completed at v1.0.0-alpha.5 or v1.0.0-beta.0
v1.0.0-alpha.5
v1.0.0-beta.0
Exports like
FastjsDom
, andFastjsDate
will not provided in the entry file anymoreWe will still keep these exports at a module level
How do I change my code
For example, you need to use
FastjsDate
directly in your code. You can write like this:Different modules have different APIs to let you use underlying implementation, for example:
dom.newEl
dom.newElList
request.create