Releases: snap-blocks/snapblocks-react
v1.1.1
v1.1.0
Added
showSpaces
option- Put code in
<code>
element during server-side render.
v1.0.2
Set snapblocks version to latest
, to allow the use of the latest version, no matter what.
v1.0.1
I'm specifically doing this to update the dependencies, as they are way too outdated.
v1.0.0
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.