Notistack: Notistack without Material-UI? [POLL] 馃憤馃憥

Created on 11 Oct 2019  路  8Comments  路  Source: iamhosseindhv/notistack

This is not the first time I get asked this.

Is there any way to use notistack without material-ui dependency?

People reached out to me in github issues, Instagram DMs and email, saying that they'd love to use notistack but their app is not built on Material-ui and therefore are not willing to add it as a dependency just for notistack.

Upvote 馃憤 this issue if you think notistack's target audience should be anyone that uses React, and not just material-ui users. Or let me know if you think otherwise.

Worth mentioning that in both cases the API will remain untouched.

discussion

Most helpful comment

A suggestion would be to create a mono repo with multiple packages under a new organisation with "drivers" for other UI libraries:

yarn add @notistack/core @notistack/material-ui

OR

yarn add @notistack/core @notistack/antd

This abstraction could even be projected further and have drivers for UI rendering libraries:

yarn add @notistack/core @notistack/vue @notistack/vuetify


EDIT: This would also have the side effect of reducing package size considerably.

All 8 comments

Given the simplicity of integration, I think this package could be open to the whole React community. Regarding Material-UI dependency, is there a need to support Material-UI v3? This would reduce the bundle size according to the comment of @oliviertassinari

Some news about this issue?

A suggestion would be to create a mono repo with multiple packages under a new organisation with "drivers" for other UI libraries:

yarn add @notistack/core @notistack/material-ui

OR

yarn add @notistack/core @notistack/antd

This abstraction could even be projected further and have drivers for UI rendering libraries:

yarn add @notistack/core @notistack/vue @notistack/vuetify


EDIT: This would also have the side effect of reducing package size considerably.

@iamhosseindhv It would be awesome to see it used without the Material Design specification! It's something Material-UI wants to focus on: "Material to build UI" :).

Would you be interested in integrating the component in Material-UI directly?

+1 Yes please. sans material-ui would be lovely. I'm using react-bootstrap...

any news, about integrating material ui?.

I would love to see this package in material ui

Any update about this?

Are there any plans on removing Material UI dependency from this project? This issue exists for 1 year now...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexisab picture alexisab  路  5Comments

Gareon picture Gareon  路  3Comments

njetsy picture njetsy  路  6Comments

james-cordeiro picture james-cordeiro  路  6Comments

FabianoLothor picture FabianoLothor  路  4Comments