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

V4 Developer Experience #194

Closed
ragboyjr opened this issue Jan 9, 2018 · 0 comments
Closed

V4 Developer Experience #194

ragboyjr opened this issue Jan 9, 2018 · 0 comments
Milestone

Comments

@ragboyjr
Copy link
Contributor

ragboyjr commented Jan 9, 2018

Now the core of v4 rewrite is complete, i think it'll be helpful for each extension to export methods which simplify their configuration.

For example, adding composers could have a function, registering functions, etc..

@ragboyjr ragboyjr added this to the 4.0 milestone Jan 9, 2018
ragboyjr added a commit that referenced this issue Jan 15, 2018
- `data` func now accepts an array of data and will merge with the
  current templates data for returning
- Updated the func extension API to make it easier to add simple
  functions

Signed-off-by: RJ Garcia <rj@bighead.net>
ragboyjr added a commit that referenced this issue Jan 15, 2018
Added helpful funcs for DX #194
ragboyjr added a commit that referenced this issue Jan 15, 2018
- Added new methods on the engine to help
  with adding and unshifting composers

Signed-off-by: RJ Garcia <rj@bighead.net>
ragboyjr added a commit that referenced this issue Jan 19, 2018
- `stack` and `compose` order has been adjusted to
  be more conventional and easier to use. In both
  cases, the first func will be executed last and
  last will be executed first. This flow encourages
  decoration and makes extension more natural since
  it is easier to append arrays than prepend them

Signed-off-by: RJ Garcia <rj@bighead.net>
ragboyjr added a commit that referenced this issue Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant