Skip to content

v1.0.0

Compare
Choose a tag to compare
@ego-lay-atman-bay ego-lay-atman-bay released this 26 Feb 22:15
· 2 commits to d89d0214544b90fcfcc47eaa990be43357cd39f8 since this release

The first release of snapblocks-react. This should work similar to the original scratchblocks-react, but there are some changes. The biggest change is that the standard properties are not passed to the resulting element. This is due to me not knowing how to do it safely without running into an error (this is the first time I've touched react, ok?).

This is also very different internally from scratchblocks-react, as I rewrote it to not import snapblocks if there is not window object. Due to this, I had to make rendering run asynchronously (dynamic imports have to be ran asynchronously). It's also a class component instead of a functional component.