1.2.5 • Published 3 years ago

@studyhub.co/react-comments-django-client v1.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

This is the frontend part of the react-comments-django application

You can use this app as a standalone app (HTML file + javascript bundle). In this case, you can log in/and sing-up into the application (local sqlite3 database will be used).

Also, you can embed app into your SPA application via following code (see components-demo-project folder for details):
import { TopicsListComponent } from '@studyhub.co/react-comments-django-client/lib/TopicsListComponent'

or ThreadComponent

import { ThreadComponent } from 'import ThreadComponent from '@studyhub.co/react-comments-django-client/lib/ThreadComponent'

(see rollup configuration: external section, to understand what packages you need to install in your js application)

You can use some conf variables. You need to add it to do document DOM before the application will run (e.g. in Django template).

const REACT_COMMENTS_DJANGO_CONFIG = { API_PROFILE_URL: '/api/v1/profiles/me/', EMBEDDED_MODE: true, API_URL_POSTFIX: 'react-comments/', DISPLAY_USERNAME_FIELD: 'display_name', ANON_AS_USER_OBJECT: true }

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.0

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.2.2

3 years ago

1.1.3

3 years ago

1.2.1

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.0.19

3 years ago

1.1.0

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago