Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.2 KB

future.md

File metadata and controls

28 lines (17 loc) · 1.2 KB

Future Work

Discussion of additional features and support for enzyme should be initiated by opening a Github issue.

There are several things we'd like to address with Enzyme that often get asked. Here are a couple of projects that we plan on addressing in the near future:

Improved CSS Selector Support

Currently, "hierarchical" CSS selectors are not supported in Enzyme. That means that the only CSS selectors that can be used right now are those that operate on a specific node. As time progresses we would like to provide a more complete subset of all valid CSS selectors.

Improved event simulation and propagation support

Event simulation is limited for Shallow rendering. Event propagation is not supported, and one must supply their own event objects. We would like to provide tools to more fully simulate real interaction.

Improved Keyboard + Mouse Simulation

Many react components involve simulating form input or complex mouse interaction. Simulating this using the event simulation API that Enzyme provides is cumbersome and impractical. We are looking for an expressive way to solve this problem, even if it is a library that lives outside of enzyme.