Hermes: Plans for supporting with statement

Created on 20 Apr 2020  路  2Comments  路  Source: facebook/hermes

Thx for the great and fast engine so far we have good results

we are using in our app lodash and I think it is being used by a lot of devs and part of it like template function and maybe other functions uses with(obj) block so do you guys have plan to support it in the future ? maybe a hint maybe a way to write our own with implementation?

other question is can I use hermes 0.5.0 with rn62? since it is written in the release notes that its for rn63
big Thanks for the effort

Most helpful comment

Hi, supporting the "with" statement hasn't been a priority for us since we don't use it internally, and it is deprecated and generally not recommended. With that said, we are discussing whether we may be able to add it sooner, if it doesn't require a lot of effort. I will post an update here.

In the meantime, are you able to use this workaround: https://github.com/lodash/lodash/issues/3709#issuecomment-375898111 ?

Re Hermes 0.5.0: it is only compatible with RN 0.63.

All 2 comments

Hi, supporting the "with" statement hasn't been a priority for us since we don't use it internally, and it is deprecated and generally not recommended. With that said, we are discussing whether we may be able to add it sooner, if it doesn't require a lot of effort. I will post an update here.

In the meantime, are you able to use this workaround: https://github.com/lodash/lodash/issues/3709#issuecomment-375898111 ?

Re Hermes 0.5.0: it is only compatible with RN 0.63.

Hi, supporting the "with" statement hasn't been a priority for us since we don't use it internally, and it is deprecated and generally not recommended. With that said, we are discussing whether we may be able to add it sooner, if it doesn't require a lot of effort. I will post an update here.

In the meantime, are you able to use this workaround: lodash/lodash#3709 (comment) ?

Re Hermes 0.5.0: it is only compatible with RN 0.63.

THX for the awsome answer

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NWU-NISL picture NWU-NISL  路  4Comments

ghost picture ghost  路  5Comments

jacque006 picture jacque006  路  4Comments

djschilling picture djschilling  路  6Comments

benjamingr picture benjamingr  路  6Comments