menu

React

A community of developers, designers and others who love React.js. ⚛️

Channels
Team
Posts
Members
Info

Is there a way to use React lazy with require instead of import ?

thumbsup
0
message-simple
4

push sound notification

autoplay the sound (mp3.play()) is blocked by almost all major browsers. I want to play the notification sound when new order arrives in the restaurant. Policy says "A user must interact first to play any sound…

thumbsup
0
message-simple
1

I want to implement the toggle functionality in my todo app

In my todo app I want to implement the toggle functionality but I don't know hot to do it I try with a ternary operator with a new function... thi is the repo https://github.com/GiandomenicoRiceputi/Todo-hooks

thumbsup
0
message-simple
1

can we convert xd files to react html?

thumbsup
0
message-simple
1

How to interact with firebase from react!

I want to build an event site where I want to get images and data from firebase and will have to show them on my site using react... How could I do it!

thumbsup
0
message-simple
1

Cannot show popular tvShow

I'm working on app which will render popular tv shows. I'm mapping through the result of my search bar and I'm looking for tv shows and only tv shows but it seems that all the data I'm getting are movies. I'm a little bit confuse here because in my API.js I specified the…

thumbsup
0
message-simple
2

Material Ui Datagrid checkbox Selection on Initial Load by Default

Dear All, How can I do the selected values display by default, with checkbox selection in material ui Data grid, and How can i add the Edit or delete button each row dynamically? #MaterialUi Data grid …

thumbsup
0
message-simple
0

Hi everybody is is possible to have innerHTML in React (html + javascript) ?

In my project I receive a server response of a string that I want to render in a React component. That string includes javascript logic in it. How can I parse it? I know React made this on purpose to stop XSS but this time I really need to bypass that. Is there a way that really…

thumbsup
0
message-simple
7

Creating onClick event in getTdProps or getTrProps overrides Expander…

1.If I create an Expander column for my table and then add getTdProps={this.onRowClick} to the table, the expander is never opened. Can you please help with the issue onRowClick = (state, rowInfo, column, instance) => { …

thumbsup
0
message-simple
0

a separate unbundled and non-minified .js file in React Build?

hi guys, I require a specific (.js) file to not be bundled part of main.chunk during React Build of Create React App. This requirement is specifically pertaining to a constants file where I keep the app specific constants. I'd like to keep the constants file hosted in production…

thumbsup
0
message-simple
4