lukejacksonn / oceanwind

Compiles tailwind shorthand into css at runtime. Succeeded by Twind.
https://twind.dev
264 stars 12 forks source link

refactor: Naming functions #38

Closed rschristian closed 3 years ago

rschristian commented 3 years ago

Removes the following warning message that would show up while using Fast Refresh and other tools alongside Oceanwind:

temp

As far as I understand Oceanwind isn't getting any sort of benefit from exporting an anonymous function here, though certainly close this if that isn't the case. My knowledge on Fast Refresh and how that works is quite literally limited to this message.

lukejacksonn commented 3 years ago

Yep, I see no problem with this! :shipit:

lukejacksonn commented 3 years ago

This has been published as part of the 0.10.0 release here https://runpkg.com/oceanwind@0.10.0