David Wells

Results 62 issues of David Wells

## Package name https://bundlephobia.com/package/@analytics/[email protected] The package says it included "webpack" for some reason but this is being bundled via microbundle. ![image](https://user-images.githubusercontent.com/532272/126248908-607835a7-98a2-4312-99b4-6da39fb4b148.png) Also locally I'm showing max file size of 496bytes...

Currently imports work with a single simple import statement, e.g. ```js import googleAnalytics from '@analytics/google-analytics' ``` This is great for dev ergonomics but causes issues with typescript because the serverside...

enhancement

Custom methods have the analytics instance injected into them as last argument and into the `this` context if non-arrow function used. https://getanalytics.io/plugins/writing-plugins/#adding-custom-methods TODO: Standardize this api to something like: ```...

enhancement

Consolidating thread on all open plugin requests. All issues need help if you'd like to contribute to the project 😃 The documentation on writing a plugin can be found [here](https://getanalytics.io/plugins/writing-plugins/#1-provider-plugins)....

help wanted
good first issue
Plugin Request

Idea: Syncing values across open browser tabs Resources: - https://github.com/pubkey/broadcast-channel - https://github.com/wobsoriano/pinia-shared-state/blob/master/packages/lib/src/index.ts - https://github.com/jcubic/sysend.js

enhancement

Currently UUID is ```js function uuid() { var u = '', m = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx', i = 0, rb = Math.random() * 0xffffffff|0; while (i++>4 } return u } ``` Should...

enhancement

Types were originally implemented with JSdoc before `typescript` proper supported this for type generation. This led to the kind of funky setup [here](https://github.com/DavidWells/analytics/blob/master/packages/analytics-core/scripts/types.js). The js first + JSdocs approach has...

enhancement

`Error: No suitable component definition found.` for minified components because propTypes are stripped out for production Looks like /src with propTypes are needed for third party libs

If you include 2 libraries with the same component names the completions.json will only include one. Example: if your project has a `Button` component and a third party library also...

autocomplete values for `PropTypes.oneOf(['primary', 'secondary', 'tertiary', 'danger'])` after prop is selected

enhancement