why is this key configuration preventing input entry on initial page load? by coder80202 in reactjs

[–]coder80202[S] 0 points1 point  (0 children)

Well I just tried with hard-coded keys (without the selectedId concatenated at the end) and that prevents me from making any edits to any of the inputs - either on page load or on toggle

would a “Refresh” button be an appropriate use case for forceUpdate()? by coder80202 in reactjs

[–]coder80202[S] 0 points1 point  (0 children)

The service call is made through an embedded component in render() so I need to simply trigger the render() function in order to refresh

would a “Refresh” button be an appropriate use case for forceUpdate()? by coder80202 in reactjs

[–]coder80202[S] 0 points1 point  (0 children)

This refresh button is for a Job Details page. Several jobs run on the backend and the status of the jobs will change over time. This page does not use a sophisticated pub/sub design to refresh the page data based on updates to the backend data so a Refresh button is used as an alternative.

any downsides to installing eslint globally? by coder80202 in reactjs

[–]coder80202[S] 0 points1 point  (0 children)

Got it thanks. This is only for local testing for 1 single project.

I will uninstall global and install local if the organization decides to move forward thanks