問題タブ [react-toolbox]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
542 参照

webpack - ES6 を ES5 にコンパイルするときの予期しないトークン、何が起こっていますか?

プロジェクト全体をES6からES5にコンパイルする必要があるreact-toolboxのcljsjsパッケージをアップグレードしようとしています。次のエラーが表示されます。

リップルは問題のあるトークンのようです。何が起こっているのですか?

完全なファイルには次が含まれます。

これまでのところ、私が構築しているwebpack構成は次のようになります。

0 投票する
1 に答える
933 参照

javascript - Is it possible to add infinite scrolling to React Tool Box Table body?

I am using react-toolbox table component in my app(react-toolbox for material styles implementation). I need to add infinite scrolling pagination for the table body. I found some libraries which does this for me, some of those are react-infinite, react-infinite-scroller, But the problem is, to use any library I need to put table rows as children inside the their library component, but ract-toolbox table does not allow me to use any div's or special components inside, from the docs:

An element that represents a row in the Table. It should be place as a direct descendant of Table and it should has TableCells children. It receives extra properties from Table to decide if checkboxes should be placed as a first column.

Actually there is a closed issue on their library but it does not solved my problem. Please help me to do this, or suggest me a suitable library (or) if there is any other way to infinite pagination with out using any library? Any help would be appreciated.