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

v8: Move Decorators into a new Package #1382

Merged
merged 1 commit into from Jun 7, 2019
Merged

Conversation

darthtrevino
Copy link
Member

This moves the decorator API into a new package: react-dnd-decorators. The decorator API is complex and fragile. This isolates the decorator-based code and encourages users to use the hooks-based API as normative.

@darthtrevino darthtrevino merged commit 6df05c9 into v8 Jun 7, 2019
@darthtrevino darthtrevino deleted the refactor/move_decorators branch June 7, 2019 21:12
darthtrevino added a commit that referenced this pull request Jun 14, 2019
* docs: use hooks-based examples in code-sandboxes

* refactor: move decorator-based API to a new package (#1382)

* docs: correct docsite loading

* Consolidate builds into ES-Modules (#1383)

* refactor: remove cjs builds

* fix: update tsconfigs

* refactor: replace require() form with imports. use @ts-ignore if types are unavailable

* refactor: remove umd builds

* refactor: remove webpack deps from react-dnd-html5-backend

* refactor: update how internals are shared between react-dnd and react-dnd-decorators

* fix: correct tests

* fix: jest typings issues

* Move Decorators back into React-DnD (#1392)

* refactor: move decorators back to the main library

* fix: add type: module to package.json files

* chore: remove wallaby.js file

* Restore UMD Builds as a new Package (#1393)

* build: add umd builds package

* feat: restore umd builds in a separate package

* test: add test.html driver

* docs: allow examples to swap between hooks and decorator mode

* docs: style the hooks/decorators toggle

* docs: add hooks/decorator example sandboxes

* docs: remove mention of the ?legacy flag

* fix: remove mention of react-dnd-decorators

* docs: correct examples import

* docs: use hooks on docsroot
darthtrevino added a commit that referenced this pull request Feb 3, 2022
* docs: use hooks-based examples in code-sandboxes

* refactor: move decorator-based API to a new package (#1382)

* docs: correct docsite loading

* Consolidate builds into ES-Modules (#1383)

* refactor: remove cjs builds

* fix: update tsconfigs

* refactor: replace require() form with imports. use @ts-ignore if types are unavailable

* refactor: remove umd builds

* refactor: remove webpack deps from react-dnd-html5-backend

* refactor: update how internals are shared between react-dnd and react-dnd-decorators

* fix: correct tests

* fix: jest typings issues

* Move Decorators back into React-DnD (#1392)

* refactor: move decorators back to the main library

* fix: add type: module to package.json files

* chore: remove wallaby.js file

* Restore UMD Builds as a new Package (#1393)

* build: add umd builds package

* feat: restore umd builds in a separate package

* test: add test.html driver

* docs: allow examples to swap between hooks and decorator mode

* docs: style the hooks/decorators toggle

* docs: add hooks/decorator example sandboxes

* docs: remove mention of the ?legacy flag

* fix: remove mention of react-dnd-decorators

* docs: correct examples import

* docs: use hooks on docsroot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant