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

Kill date pickers #159

Merged
merged 1 commit into from Apr 7, 2019
Merged

Kill date pickers #159

merged 1 commit into from Apr 7, 2019

Conversation

tcbegley
Copy link
Collaborator

@tcbegley tcbegley commented Mar 21, 2019

This PR removes DatePickerSingle and DatePickerRange as suggested in #148. It appears to have reduced the bundle size by about two thirds (!) from ~750KB to ~250KB.

@tcbegley
Copy link
Collaborator Author

@tcbegley tcbegley commented Mar 21, 2019

While looking into ramda imports as suggested here I noticed that these two components were also the only places we were using ramda without targeted imports, so possibly a large chunk of the reduction we're getting is due to the blanket imports getting removed.

@pbugnion
Copy link
Member

@pbugnion pbugnion commented Apr 5, 2019

To help people use DatePicker{Single,Range} from dash-core-components, should we write an example in the documentation somewhere? The deprecation exception could then point to that?

@pbugnion
Copy link
Member

@pbugnion pbugnion commented Apr 5, 2019

Apart from that, this looks good.

@tcbegley
Copy link
Collaborator Author

@tcbegley tcbegley commented Apr 5, 2019

To help people use DatePicker{Single,Range} from dash-core-components, should we write an example in the documentation somewhere? The deprecation exception could then point to that?

We could just link to the dash-core-components docs? I'm not sure that our own documentation would add much?

@tcbegley tcbegley merged commit 8ecf4b3 into master Apr 7, 2019
2 checks passed
@tcbegley tcbegley deleted the kill-datepickers branch Apr 7, 2019
@tcbegley tcbegley mentioned this pull request Apr 7, 2019
@ZeroCool2u
Copy link

@ZeroCool2u ZeroCool2u commented Oct 21, 2020

@tcbegley @pbugnion Is there any documentation on how to apply the theme to the DateRangePicker components? I haven't had any luck so far.

@tcbegley
Copy link
Collaborator Author

@tcbegley tcbegley commented Oct 21, 2020

hey @ZeroCool2u, you can try this https://github.com/tcbegley/dash-bootstrap-css

@ZeroCool2u
Copy link

@ZeroCool2u ZeroCool2u commented Oct 21, 2020

@tcbegley Great, thank you!

tcbegley added a commit that referenced this issue Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants