Comments (5)
@JiLiZART - we've shaved that back off again with our latest release, where we replaced mobx
with unstated
😄 Enjoy!
from react-accessible-accordion.
Hi @JiLiZART I think it doesn't matter what state management we use inside this component.
It will be wrapped in the package and completely transparent for the final developer. You will still be free to use any state management library you want.
from react-accessible-accordion.
@JiLiZART rest assured that we will not impose any kind of restrictions about which state management library this component will be compatible with, and whichever library we use, we promise that it will not impact the user at all. Like Vincent says - it will remain completely transparent in user-land.
Unfortunately, we are seeing many issues cropping up at the moment which are all related to the way that we are currently trying to pass state back and forth between our various components, and the only way to resolve this in a clean and maintainable way is to use some kind of contextual state management library. We could roll our own, but we would rather lean on well-tested and well documented libraries, for the sake of performance and reliability. Watch this space!
from react-accessible-accordion.
@JiLiZART v2.0.0 dropped today, and you'll be pleased to know that it remains 'dumb' in the sense that you do not need to integrate it with your existing state infrastructure, even though it uses mobx
+ mobx-react
behind the scenes. Incidentally, we are actually going to try and move to something a bit lighter pretty quickly though - we're not too pleased with how much bloat mobx
adds to the library!
from react-accessible-accordion.
Okay, +57kb to bundle, nice 👍
from react-accessible-accordion.
Related Issues (20)
- version change without release HOT 4
- There should be a way to collapse an accordion tab after it has been rendered HOT 1
- Menu is hide, when click in link HOT 2
- How to render text as html tags? Is there an option to do that? HOT 5
- Manually setting dangerouslySetExpanded scrolls to middle of the AccordionItem instead of to Top. Is there any way to control the scroll such that after setting dangerouslySetExpanded it opens the Accordion item and scrolls to Top of that item? HOT 1
- How to properly track open AccordionItem? HOT 2
- In Safari the focus outline is shown on mouse click HOT 4
- Preparing React Accessible Accordion for React 18 HOT 5
- v5 shows a warning with webpack when not using with React 18 HOT 2
- preExpanded doesn't seem to be working. HOT 2
- Typing error in CHANGELOG HOT 3
- aria-hidden should be replaced with native hidden attribute HOT 4
- Warnings for importing useId if React < 18 HOT 1
- Not openning accordion after setState in onChange HOT 3
- Tested with React 18 seems to work fine?
- Why does this module exist?
- Expand Collapse All with button click
- Ease in and out animation HOT 1
- Slight improvement - accessibility
- Using accordion as mobile nav
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-accessible-accordion.