sehqlr
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Developing with WordPress
In reply to: React Error #321 for Custom BlocksFor Your Information… I decided to create an issue in the react-select GitHub repository.
Forum: Developing with WordPress
In reply to: React Error #321 for Custom BlocksI realized that I never included a code sample…
render() { const multiple = this.props.isMulti; const handleChange = this.props.onChange; const { selected } = this.props; console.log('PostTypePicker rendering now'); console.log(this); return ( <AsyncSelect isMulti={multiple} value={this.rehydratePostTypeSelection(selected)} loadOptions={this.loadOptions} defaultOptions onChange={handleChange} /> ); }The console logs always print, and the
rehydratePostTypeSelectionfunction also runs (because I have a few logging statements there too). But something happens when thisAsyncSelectcomponent renders and triggers the exception.- This reply was modified 4 years, 6 months ago by sehqlr.
Viewing 2 replies - 1 through 2 (of 2 total)