Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mixin-deep from 1.3.1 to 1.3.2 #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Formality-App

Front-end application renderer for Formality Lang.
147 changes: 0 additions & 147 deletions dist/index.js

This file was deleted.

File renamed without changes.
File renamed without changes.
685 changes: 685 additions & 0 deletions docs/index.js

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions docs/inferno-hooked.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
var stateOf = {};
const buildUseState = self => state => {
const setState = newState => {
stateOf[self._id] = newState;
self.forceUpdate();
};
if (!self._id) {
self._id = "x" + Math.floor(Math.random() * (2 ** 32));
stateOf[self._id] = state;
}
return [stateOf[self._id], setState];
};

function Hooked(render) {
class Self extends Component {
constructor(props) {
super(props)
}
componentDidMount() {
}
render() {
return render({useState: buildUseState(this)});
}
};
return Self;
};

module.exports = Hooked;
Loading