Xstate: Babel plugin to avoid shipping the parser

Created on 26 Aug 2017  路  1Comment  路  Source: davidkpiano/xstate

As I understand the library currently includes a parser. What do you think about having a Babel plugin that precompiles state machine and replaces an import with the version that doesn鈥檛 ship a parser?

cc @threepointone

Most helpful comment

Hey @gaearon I actually just updated the readme - the parser was based on a very old version of this library. Version 1 no longer requires parsing! I'll have examples up shortly.

>All comments

Hey @gaearon I actually just updated the readme - the parser was based on a very old version of this library. Version 1 no longer requires parsing! I'll have examples up shortly.

Was this page helpful?
0 / 5 - 0 ratings