This package has been deprecated

Author message:

Deprecate this plugin. The issue has been fixed in the later wepy version. Use patch-package for the temp fix if you still need it.

wepy-remove-before-set-data

1.0.0 • Public • Published

wepy-remove-before-set-data

A workaround to remove the before-setData hook in wepy for fixing issues of using components.

Install

npm install wepy-remove-before-set-data --save-dev

How to use

/* wepy.config.js */

// import the plugin
const RemoveBeforeSetData = require('wepy-remove-before-set-data');

// add the plugin
module.exports = {
  plugins: [
	// by default it's disabled
    RemoveBeforeSetData({ enabled: true }),
  ],
};

Things to know

This is a temporary workaround for fixing the wepy2 - the issue ticket #2356. It works for @wepy/core 2.0.0-alpha.9 and probably won't be needed in the later versions.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i wepy-remove-before-set-data

      Weekly Downloads

      1

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      2.23 kB

      Total Files

      3

      Last publish

      Collaborators

      • shuaibird