wagtail-deprecated / react-streamfield

Powerful field for inserting multiple blocks with nesting. (NO LONGER MAINTAINED - See Wagtail 2.13 Release Notes)
https://wagtail.github.io/react-streamfield/public/
35 stars 12 forks source link

Add new package build with Rollup, dev environment with Storybook, & API #5

Closed thibaudcolas closed 5 years ago

thibaudcolas commented 5 years ago

This addresses some of the points raised in #4, in particular the ones related to the packaging of the code, and also adds an API.

I also made a fork of https://github.com/wagtail/wagtail/pull/4942, which adds 3 commits to integrate this new version of the package: https://github.com/thibaudcolas/wagtail/commits/feature/new-streamfield-4942-build.

There is also https://github.com/thibaudcolas/wagtail/commits/feature/new-streamfield-4942-build-init, which contains one extra commit that explores changing how the widgets are initialised for better performance (gets rid of the time during which the page is loaded without StreamField instances)

BertrandBordage commented 5 years ago

This is excellent, and I love the Storybook integration you did! I’m happy to merge that, thank you. I need to do a few changes right after the merge so that the path to Storybook gets used on github pages.