semantic-reflex icon indicating copy to clipboard operation
semantic-reflex copied to clipboard

Remove Prerender constraint from UI type alias

Open mightybyte opened this issue 5 years ago • 3 comments

A lot of the semantic-reflex widgets don't need the Prerender constraint, but they use the UI type alias so they get it. The result is that the user can't use these widgets in many places completely unnecessarily.

mightybyte avatar Aug 18 '19 05:08 mightybyte

The Prerender constraint is necessary due to transitions needing MonadIO for delaying events.

What are the situations that prevent you from making use of the prerender constraint?

tomsmalley avatar Sep 04 '19 07:09 tomsmalley

It would be nice to be able to drop that constraint where transitions aren't being used, though.

tomsmalley avatar Sep 04 '19 07:09 tomsmalley

Yes. I don't object to the constraint being there where needed. I just think it shouldn't be there across the board.

mightybyte avatar Sep 06 '19 16:09 mightybyte