Skip to content

Fantastic Idea #1

Description

@crherman7

I love this idea and your proof of concept. What I'm really interested in this for are 2 different aspects.

In react I would love to see the use of this for directives similar to vue such as v-if...https://vuejs.org/guide/essentials/conditional.html#v-if-on-template. Would be a nice way to clean up ternaries and nullcoals.

In react native I would love to use this for applying tailwind styles. Right now I use twrnc but I create proxy components to make the className prop available utilizing just strings instead of doing a tw.style('...'). In this case I would be hoping to highjack & sanitize props.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions