running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
| interface HOC<T> { | |
| (Component: React.ComponentType<T>): (props: T) => JSX.Element | |
| } | |
| const reduceHOCs = <T>(...hocs: HOC<T>[]): HOC<T> => hocs | |
| .reduce((reduced, next) => (c) => next(reduced(c))); | |
| const applyHOCs = <T>(...hocs: HOC<T>[]) { | |
| const reducedHoc = reduceHOCs(...hocs); |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
| const { Component } = React | |
| // Model | |
| let nextTodoID = 0 | |
| // Update |
Finally, Simple Form support Boostrap 3. 👏
But I found it still dosen't support some components in Bootstrap 3. Or may be in the future. But I can't wait, so I find a solution to support them. It was inspired by heartcombo/simple_form#531 (comment) .
This is a final solution and I used in my project.